Commit Graph

623 Commits

Author SHA1 Message Date
Tom Lane bec98a31c5 Revise aggregate functions per earlier discussions in pghackers.
There's now only one transition value and transition function.
NULL handling in aggregates is a lot cleaner.  Also, use Numeric
accumulators instead of integer accumulators for sum/avg on integer
datatypes --- this avoids overflow at the cost of being a little slower.
Implement VARIANCE() and STDDEV() aggregates in the standard backend.

Also, enable new LIKE selectivity estimators by default.  Unrelated
change, but as long as I had to force initdb anyway...
2000-07-17 03:05:41 +00:00
Peter Eisentraut 0d59dad770 Automatic dependency tracking
The .DEFAULT rule in backend/Makefile is harmful -- removed.
Replace `::' rules by `:'.
2000-07-16 14:50:44 +00:00
Peter Eisentraut 81fd7532a9 Incorporate README.fsync into main documentation body 2000-07-16 14:47:57 +00:00
Peter Eisentraut b4c315ba9e Revise locale and Kerberos documentation 2000-07-15 21:35:47 +00:00
Thomas G. Lockhart 466f8ff5f1 Fix munged markup from previous commit. 2000-07-14 16:04:18 +00:00
Thomas G. Lockhart 9a9f335284 Add information on SET SESSION CHARACTERISTICS.
Fix references to pg_hba.conf(5) since that is no longer a man page.
Make minor repairs to "Compatibility" subsections.
2000-07-14 15:27:14 +00:00
Thomas G. Lockhart 4835f6a8bc Update docs for TIME WITHOUT TIME ZONE.
Add information on SET SESSION CHARACTERISTICS.
Fix references to pg_hba.conf(5) since that is no longer a man page.
2000-07-14 15:26:21 +00:00
Peter Eisentraut 648677c3a2 Add assert checking to GUC ("debug_assertions")
Rename settings net_server to tcpip_socket, max_backends to max_connections
Add --help and --version to postmaster, reformat help output
2000-07-12 17:38:53 +00:00
Thomas G. Lockhart bebd62c19f Remove reference to tag which is not available to the User's Guide
when built on its own. UG now builds cleanly.
2000-07-08 16:00:15 +00:00
Peter Eisentraut 554e56e628 Expand secondary password file feature, so that you can use these
files to restrict the set of users that can connect to a database
but can still use the pg_shadow password. (You just leave off the
password field in the secondary file.)
2000-07-04 16:32:01 +00:00
Bruce Momjian efcff3da16 In the attache is new (correct) version. I add TZ (timezone) support
for
to_char() too.

Karel
2000-07-03 16:01:33 +00:00
Bruce Momjian 80c646958a Attached is a new patch which addresses this problem. (oids in
regression tests).

Chris Bitmead
2000-07-02 22:01:27 +00:00
Bruce Momjian e225260440 Back out Karels to_char changes. 2000-07-01 21:27:14 +00:00
Peter Eisentraut 9e8d591877 Synchronized integrated documentation with latest admin guide change. 2000-07-01 15:05:47 +00:00
Bruce Momjian 99212a4847 In the attache is new to_date()/to_timestamp() version.
Now the to_timestamp() support WW,W,J,SSSS,DDD conversion from strings and
the am/pm bug is fixed, the to_char() use week-of-year (WW) full compatible
with Oracle.

 This patch update relevant regress-tests and docs too.

                                        Karel
~
~
2000-07-01 14:10:32 +00:00
Peter Eisentraut a164213219 New and revised material for Admin guide, re backup & restore and database
management
2000-06-30 16:14:21 +00:00
Tom Lane 1aebc3618a First phase of memory management rewrite (see backend/utils/mmgr/README
for details).  It doesn't really do that much yet, since there are no
short-term memory contexts in the executor, but the infrastructure is
in place and long-term contexts are handled reasonably.  A few long-
standing bugs have been fixed, such as 'VACUUM; anything' in a single
query string crashing.  Also, out-of-memory is now considered a
recoverable ERROR, not FATAL.
Eliminate a large amount of crufty, now-dead code in and around
memory management.
Fix problem with holding off SIGTRAP, SIGSEGV, etc in postmaster and
backend startup.
2000-06-28 03:33:33 +00:00
Peter Eisentraut c446509565 Second pass over run-time configuration system. Adjust priorities on some
option settings. Sort out SIGHUP vs BACKEND -- there is no total ordering
here, so make explicit checks. Add comments explaining all of this.
Removed permissions check on SHOW command.

Add examine_subclass to the game, rename to SQL_inheritance to fit the
official data model better. Adjust documentation.

Standalone backend needs to reset all options before it starts. To
facilitate that, have IsUnderPostmaster be set by the postmaster itself,
don't wait for the magic -p switch.

Also make sure that all environment variables and argv's survive
init_ps_display(). Use strdup where necessary.

Have initdb make configuration files (postgresql.conf, pg_hba.conf) mode
0600 -- having configuration files is no fun if you can't edit them.
2000-06-22 22:31:24 +00:00
Bruce Momjian b997a4b91f > Great! Please cc: the docs or hackers mailing lists to make sure the
> patches are not lost...

Aggregate doc patches:

The patches are attached. Be great if you could check them over to make
sure all relevant content (and markup) is there...

Isaac Wilcox
2000-06-20 18:04:18 +00:00
Tom Lane c590273fef Clean up bogosities in pg_opclass, pg_amop, pg_amproc. There are amproc
entries now for int8 and network hash indexes.  int24_ops and int42_ops
are gone.  pg_opclass no longer contains multiple entries claiming to be
the default opclass for the same datatype.  opr_sanity regress test
extended to catch errors like these in the future.
2000-06-19 03:55:01 +00:00
Peter Eisentraut 2c0edb3c86 Separated set constraints and set transaction reference pages, revised set
reference page to new configuration system. Big update to administrator's
guide, chapters Runtime environment, Client authentication, and User
management, the latter two were part of the old Security chapter.
2000-06-18 21:24:54 +00:00
Thomas G. Lockhart 0d2a78bf23 Repair markup to allow clean doc builds. 2000-06-14 13:12:52 +00:00
Thomas G. Lockhart e7112784a1 Reword to reduce redundant wording in some wording ;) 2000-06-14 13:12:17 +00:00
Thomas G. Lockhart ee7f92b76b Fix up typos.
Move "query result" tables to left side of page (remove leading spaces).
2000-06-14 13:10:48 +00:00
Bruce Momjian 8c1d09d591 Inheritance overhaul by Chris Bitmead <chris@bitmead.com> 2000-06-09 01:44:34 +00:00
Bruce Momjian 552d59353f Update for 7.0.2. 2000-06-05 17:07:56 +00:00
Bruce Momjian 154c0a0b68 Update for 7.0.2. 2000-06-05 10:57:57 +00:00
Bruce Momjian cc2b5e5815 Remove NT-specific file open defines by defining our own open macros for
"rb" and "wb".
2000-06-02 15:57:44 +00:00
Bruce Momjian 6437fe62ba Add fix to index length 2000-06-02 01:25:20 +00:00
Bruce Momjian 37b5775d3c createlang fix 2000-06-01 23:40:31 +00:00
Bruce Momjian 5abea5fe13 Update 7.0.1 for Tatsuo 2000-06-01 06:02:14 +00:00
Bruce Momjian bd29331f84 Mention pg_upgrade 2000-06-01 05:58:42 +00:00
Bruce Momjian f9f6cc4ab0 Update 7.0.1 2000-06-01 05:48:42 +00:00
Bruce Momjian 54ee522f4f Fixups for 7.0.1 2000-06-01 05:13:18 +00:00
Bruce Momjian 5e4d554bae Typo fix 2000-05-30 18:00:30 +00:00
Bruce Momjian 659f79be7a Allow vacuum to perform analyze with shared lock. Update cvs manual. 2000-05-29 15:44:55 +00:00
Tom Lane 18952f6744 Second round of fmgr changes: triggers are now invoked in new style,
CurrentTriggerData is history.
2000-05-29 01:59:17 +00:00
Tom Lane 5005bb060b 'CREATE FUNC TION' => 'CREATE FUNCTION'. 2000-05-27 18:18:31 +00:00
Bruce Momjian be6e7717db Fix \h SELECT to not show SELECT INTO. 2000-05-26 15:47:18 +00:00
Bruce Momjian ebb88e3ba5 Fix initlocation syntax example for createdb 2000-05-26 02:07:15 +00:00
Bruce Momjian a802433917 Spell fix 2000-05-25 15:32:03 +00:00
Bruce Momjian 75478861a4 pg_ctl does not use -S by default anymore so update documentation 2000-05-23 21:46:57 +00:00
Bruce Momjian 0d62ecdf72 Update rules man pages. 2000-05-20 11:38:25 +00:00
Bruce Momjian c99e851eea Clean up sql functions examples. 2000-05-20 11:24:37 +00:00
Bruce Momjian f63ba5cd6a Fix WARN->NOTICE in docs. Change libpgeasy connection parameters to use
PQconnectdb() style connections.
2000-05-18 14:24:38 +00:00
Bruce Momjian 52d95db1a3 Update trigger.sgml 2000-05-17 18:30:02 +00:00
Bruce Momjian 21258c35a0 Clean up trigger sgml docs. 2000-05-17 17:44:13 +00:00
Bruce Momjian 76da5b80b1 Change plpgsql example from SELECT * INTO rec to SELECT INTO rec *. 2000-05-17 00:15:48 +00:00
Bruce Momjian d446c129ac Fix typo 2000-05-16 21:16:12 +00:00
Bruce Momjian 5128d145a8 Cleanup plpgsql man page typo 2000-05-16 19:29:43 +00:00