Commit Graph

4167 Commits

Author SHA1 Message Date
Tom Lane 432fb5b886 Updates for array documentation, from Joe Conway. 2003-08-19 06:06:48 +00:00
Bruce Momjian 141490354e Done:
> * -Add btree index support for reltime, tinterval, regproc (Tom)
2003-08-18 02:52:45 +00:00
Tom Lane c771838106 Somebody forgot to include any actual documentation for ADD_MISSING_FROM. 2003-08-17 22:19:15 +00:00
Tom Lane 4215947986 Update documentation to reflect the fact that ORDER BY, GROUP BY, etc
are now driven by the default btree opclass, rather than assuming that
particular operator names have the needed semantics.
2003-08-17 22:09:00 +00:00
Tom Lane 1b68704482 Fix broken markup. 2003-08-17 22:05:13 +00:00
Bruce Momjian 42588d436d Add:
> * Allow PREPARE of cursors
2003-08-17 05:23:13 +00:00
Bruce Momjian a9f9a97906 I almost forgot mark in docs "to_char(interval)" as deprecated function.
This useless routine will removed in 7.5. It's already discussed (see
hackers list archive).

Karel Zak
2003-08-17 04:52:41 +00:00
Bruce Momjian 7f5079db98 Add:
> * Fix upper()/lower() to work for multibyte encodings
>
2003-08-17 04:50:57 +00:00
Bruce Momjian 41477b9a83 This patch makes two minor fixes to the docs: (1) fixes a
spelling mistake in the PREPARE ref page (2) Makes some
English more consistent, in the ref pages for some of the
client apps (3) Adds a link to the libpq docs in the
vacuumdb ref page.

Neil Conway
2003-08-17 04:46:59 +00:00
Bruce Momjian e7f266e5fe There is a misstatement in the CLOSE reference page, now that we
have cursors that might outlive their creating transactions. A
patch is attached that fixes this (suggestions on better wording
are welcome).

Neil Conway
2003-08-17 04:46:00 +00:00
Bruce Momjian b433f405c5 Add:
> * Allow pooled connections to query prepared queries
> * Allow pooled connections to close all open WITH HOLD cursors
2003-08-17 04:43:48 +00:00
Bruce Momjian 2326ade600 I just noticed that the sample pg_hba.conf in the docs doesn't contain
any use of CIDR masks - here's a patch that adds  a couple of  sample
lines and associated comments.

Andrew Dunstan
2003-08-17 04:39:11 +00:00
Bruce Momjian f7d9aa8fbf The attached patch adds some clarification to the documentation of the
binary format read/created by COPY BINARY. It also mentions the
contrib/binarycopy module.

Lee Kindness.
2003-08-17 04:33:02 +00:00
Bruce Momjian 6499ebb72b Add:
> * Add ALTER DOMAIN, AGGREGATE, CONVERSION, SEQUENCE ... OWNER TO
>
2003-08-17 04:28:15 +00:00
Bruce Momjian 237b4d6845 Add:
> * Add TRUNCATE ... CASCADE
2003-08-17 04:18:01 +00:00
Bruce Momjian 01d0d34694 Add:
> * Add pg_get_acldef(), pg_get_typedefault(), and pg_get_attrdef()
2003-08-17 03:56:16 +00:00
Bruce Momjian 3297804e14 Add mention of sort_mem in the restore docs. 2003-08-17 03:14:26 +00:00
Bruce Momjian bb8586d19d Update for 7.3 tips URL. 2003-08-17 00:41:46 +00:00
Bruce Momjian 226bae27b9 Add mention that Kerberos 4 isn't recommended. 2003-08-16 23:33:49 +00:00
Bruce Momjian 43bb02863f Add disk rotation idea to WAL todo emails. 2003-08-14 23:13:42 +00:00
Tom Lane 0684043e39 Minor copy-editing. 2003-08-14 23:13:27 +00:00
Tom Lane 483363b03d Fix longstanding thinko in SSL protocol documentation: the server's
initial response is 'S', not 'Y', when it is willing to do SSL.
2003-08-14 20:09:31 +00:00
Tom Lane c01641f8ae libpq failed to cope with COPY FROM STDIN if the command was issued
via extended query protocol, because it sends Sync right after Execute
without realizing that the command to be executed is COPY.  There seems
to be no reasonable way for it to realize that, either, so the best fix
seems to be to make the backend ignore Sync during copy-in mode.  Bit of
a wart on the protocol, but little alternative.  Also, libpq must send
another Sync after terminating the COPY, if the command was issued via
Execute.
2003-08-13 18:56:21 +00:00
Tom Lane 0be731ad44 Add PQexecPrepared() and PQsendQueryPrepared() functions, to allow
libpq users to perform Bind/Execute of previously prepared statements.
Per yesterday's discussion, this offers enough performance improvement
to justify bending the 'no new features during beta' rule.
2003-08-13 16:29:03 +00:00
Bruce Momjian c090b053fe I'm quite fond of doing VPATH builds, i.e. building outside the source
tree. This also catches lots of little Makefile bugs, so here's a small
patch for one of them (replacing an explicit reference to thread.c with
a reference to it as the first prerequsite of the rule makes make look
for it in the place where it was found (the source tree) rather than in
the build tree. (using GNU make 3.79.1)

John Gray
2003-08-13 03:12:04 +00:00
Bruce Momjian 730b3a1502 Add:
> * Prevent unneeded quoting in psql \d output using fmtId()
2003-08-11 22:39:48 +00:00
Tom Lane 18c10877a9 Make various links point to specific places instead of entire parts
(doubtless these are hangovers from the old separate-books days).
2003-08-10 01:20:34 +00:00
Tom Lane 0019532f47 Request verbose error message output in bug reports. 2003-08-10 01:19:18 +00:00
Tom Lane 5bfb0540b0 Update docs for 7.4 array features and polymorphic functions.
This is Joe Conway's patch of 7-Aug plus further editorializing
of my own.
2003-08-09 22:50:22 +00:00
Bruce Momjian 9e73ab4965 Add:
> * Allow clients to query WITH HOLD cursors and prepared statements
503d503
<
2003-08-08 20:31:26 +00:00
Bruce Momjian 4ae02fd03e Update:
< 	o -Implement SQLDA
> 	o Implement SQLDA
2003-08-08 18:55:35 +00:00
Bruce Momjian b1504b6085 Update. 2003-08-08 18:36:34 +00:00
Bruce Momjian 6abde4d803 Update as done:
< * Allow easy display of usernames in a group
> * -Allow easy display of usernames in a group
88,89d87
< * -Delay resolution of array expression type so assignment coercion
<   can be performed on empty array expressions (Joe)
94c92,94
< 	o Support construction of array result values in expressions
> 	o -Support construction of array result values in expressions (Joe)
> 	o Delay resolution of array expression type so assignment coercion
> 	  can be performed on empty array expressions (Joe)
148c148
< * Allow LIKE indexing optimization for non-ASCII locales
> * -Allow LIKE indexing optimization for non-ASCII locales using special index
173c173
< * Return proper effected tuple count from complex commands [return]
> * -Return proper effected tuple count from complex commands [return]
236c236
< 	o Allow SHOW of non-modifiable variables, like pg_controldata
>  	o -Allow SHOW of some non-modifiable variables, like pg_controldata
257a258
> 	o Add capability to create and call PROCEDURES
272c273
<
> * Allow psql \du to show groups, and add \dg for groups
424c425
< * Improve Subplan list handling
> * -Improve Subplan list handling
2003-08-08 17:13:02 +00:00
Bruce Momjian d58b01a516 Not needed anymore. 2003-08-08 17:05:11 +00:00
Bruce Momjian e4c38da4de Done:
< 	o Allow array declarations and other data types in PL/PgSQL DECLARE
> 	o -Allow array declarations and other data types in PL/PgSQL DECLARE
254c254
< 	o Allow PL/PgSQL to support array element assignment
> 	o -Allow PL/PgSQL to support array element assignment (Joe)
2003-08-08 16:34:40 +00:00
Bruce Momjian 22bd88ba35 Remove:
< 	o Add PL/PgSQL PROCEDURES that can return multiple values
2003-08-08 16:33:35 +00:00
Bruce Momjian 80ed63952b Update done items:
< * Allow elog() to return error codes, module name, file name, line
<   number, not just messages (Peter E)
< * Add error codes (Peter E)
< * Make error messages more consistent [error]
> * -Allow elog() to return error codes, module name, file name, line
>   number, not just messages (Tom)
> * -Add error codes (Tom)
> * -Make error messages more consistent
40c40
< * Add GUC log_statement_and_duration to print statement and >= min duration
> * -Add GUC log_statement_and_duration to print statement and >= min duration
84c84
< * Allow current datestyle to restrict dates;  prevent month/day swapping
> * -Allow current datestyle to restrict dates;  prevent month/day swapping
86c86
< * Prevent month/day swapping of ISO dates to make invalid dates valid
> * -Prevent month/day swapping of ISO dates to make invalid dates valid
88c88
< * Delay resolution of array expression type so assignment coercion
> * -Delay resolution of array expression type so assignment coercion
93c93
< 	o Allow arrays to be ORDER'ed
> 	o -Allow arrays to be ORDER'ed
116c116
< * Remove Cyrillic recode support
> * -Remove Cyrillic recode support
144c144
< * Certain indexes will not shrink, e.g. indexes on ever-increasing
> * -Certain indexes will not shrink, e.g. indexes on ever-increasing
185c185
< * Have SELECT '13 minutes'::interval display zero seconds in ISO datestyle
> * -Have SELECT '13 minutes'::interval display zero seconds in ISO datestyle
196c196
< 	o -Add ALTER TABLE tab SET WITHOUT OIDS (Rod)
> 	o --Add ALTER TABLE tab SET WITHOUT OIDS (Rod)
221c221
< 	  stored in the backend
> 	  stored in the backend (Gavin)
235c235
< 	o Allow EXPLAIN EXECUTE to see prepared plans
> 	o -Allow EXPLAIN EXECUTE to see prepared plans
241d240
< 	o Add untrusted version of plpython
265c264
< * Allow psql to show transaction status if backend protocol changes made
> * -Allow psql to show transaction status if backend protocol changes made
272,273c271,272
< * Modify pg_get_triggerdef() to take a boolean to pretty-print,
<  and use that as part of pg_dump along with psql
> * -Modify pg_get_triggerdef() to take a boolean to pretty-print,
>   and use that as part of pg_dump along with psql
292c291
< 	o Add SQLSTATE
> 	o -Add SQLSTATE
296c295
< 	o Implement SQLDA (do we really need this?)
> 	o -Implement SQLDA
364d362
< * Allow binding query args over FE/BE protocol
378c376,377
< * Provide automatic running of vacuum in the background (Tom) [vacuum]
> * Provide automatic running of vacuum in the background in backend
>   rather than in /contrib [vacuum]
427c426
< * Allow Subplans to use efficient joins(hash, merge) with upper variable
> * -Allow Subplans to use efficient joins(hash, merge) with upper variable
429c428
< * Allow merge and hash joins on expressions not just simple variables (Tom)
> * -Allow merge and hash joins on expressions not just simple variables (Tom)
474c473
< * Remove memory/file descriptor freeing befor elog(ERROR)  (Bruce)
> * Remove memory/file descriptor freeing before ereport(ERROR)  (Bruce)
489,490c488,489
< 	o Show transaction status in psql
< 	o Allow binding of query parameters, support for prepared queries
> 	o -Show transaction status in psql
> 	o -Allow binding of query parameters, support for prepared queries
492,494c491,493
< 	o Remove hard-coded limits on user/db/password names
< 	o Remove unused elements of startup packet (unused, tty, passlength)
< 	o Fix COPY/fastpath protocol?
> 	o -Remove hard-coded limits on user/db/password names
> 	o -Remove unused elements of startup packet (unused, tty, passlength)
> 	o -Fix COPY/fastpath protocol
496,497c495
< 	o Replication support?
< 	o Error codes
> 	o -Error codes
500d497
< 	o ecpg improvements?
503c500
< 	o Report server version number, database encoding, client encoding
> 	o -Report server version number, database encoding, client encoding
2003-08-08 02:00:20 +00:00
Bruce Momjian 60356aa76d No need for TODO.detail error. 2003-08-08 00:28:26 +00:00
Barry Lind 9c6d5495b9 markup fixes 2003-08-07 05:06:40 +00:00
Bruce Momjian 90562b1135 Noticed broken markup in ecpg.sgml. Attached patch fixes it. Please
apply.

Joe Conway
2003-08-07 04:17:21 +00:00
Barry Lind 1d1df53f82 Applied doc patch for the jdbc docs submitted by Nic Ferrier for functionality
he supplied a few months ago, but didn't get around to docing until now.  And
he also added some doc for calling stored functions in general from jdbc that was missing.

 Modified Files:
 	sgml/jdbc.sgml
2003-08-06 23:50:19 +00:00
Bruce Momjian 3efb2af4b6 Add:
> 	o Add ALTER DATABASE ... OWNER TO newowner
2003-08-06 23:36:02 +00:00
Tom Lane c45b851e37 Fix erroneous direct reference to postgres.tar.gz, per bug report
from Garrick Staples.
2003-08-04 20:52:48 +00:00
Peter Eisentraut 3766e99c41 Add a note that AND and OR are commutative. Apparently, they are not in
certain other products.
2003-08-04 14:00:14 +00:00
Tom Lane 4c3c8c048d Remove --enable-recode feature, since it's been broken by IPv6 changes,
and seems to have too few users to justify maintaining.
2003-08-04 04:03:10 +00:00
Bruce Momjian d6d96532a8 Remove docs that say psql \encoding doesn't track SET client_encoding. 2003-08-02 02:44:38 +00:00
Bruce Momjian ec1501395e Update, add Greg:
< * Fernando Nasser <fnasser@redhat.com> of Red Hat
< * Gavin Sherry <swm@linuxworld.com.au> of Alcove Systems Engineering
> * Fernando is Fernando Nasser <fnasser@redhat.com> of Red Hat
> * Gavin is Gavin Sherry <swm@linuxworld.com.au> of Alcove Systems Engineering
> * Greg is Greg Sabino Mullane <greg@turnstep.com>
2003-08-01 22:18:15 +00:00
Bruce Momjian fb78fd0e12 Add:
<
> 	o Allow PL/pgSQL EXECUTE query_var INTO record_var;
2003-08-01 21:44:05 +00:00
Peter Eisentraut 4f7df90db0 Make ecpg SQLSTATE-aware. Map existing SQLCODE assignments to SQLSTATEs,
rather than parsing the message.  Add some documentation about embedded
SQL.
2003-08-01 13:53:36 +00:00
Bruce Momjian 55103553ad --enable-thread-safeness -> --enable-thread-safety 2003-08-01 03:10:04 +00:00
Tom Lane eb06e6d182 Improve description of restoring pg_dumpall backups, per gripe from
Havard Eidnes.
2003-08-01 01:01:52 +00:00
Tom Lane a063d4b3ec Very minor editing. 2003-07-31 22:17:11 +00:00
Tom Lane 8b1ea2f58b Cause library-preload feature to report error if specified initialization
function is not found.  Also, make all the PL libraries have initialization
functions with standard names.  Patch from Joe Conway.
2003-07-31 18:36:46 +00:00
Bruce Momjian 1c6eba447c Modify:
> * Implement dirty reads or shared row locks and use them in RI triggers
2003-07-31 15:07:17 +00:00
Bruce Momjian 644bf7d02c Modify:
> * Implement dirty reads or shared locks and use them in RI triggers
2003-07-31 04:49:38 +00:00
Bruce Momjian 36f3a3c486 contraints -> constraints
Rod Taylor
2003-07-31 04:48:15 +00:00
Bruce Momjian 6b8f6a65e2 Update Turkish FAQ, Devrim GUNDUZ 2003-07-31 04:41:56 +00:00
Bruce Momjian f766b376f1 Add fflush of stdout when outputing query. 2003-07-31 04:23:40 +00:00
Tom Lane 52347b6637 Add pretty-printing variants of pg_get_viewdef and related functions.
Patch from Andreas Pflug.
2003-07-30 22:56:24 +00:00
Bruce Momjian 12911ea2e1 Add:;
> * Allow server log information to be output as INSERT statements
2003-07-30 20:23:32 +00:00
Bruce Momjian 0159f7f272 Modify:
> * Allow log lines to include session-level information, like database and user
2003-07-30 19:16:18 +00:00
Bruce Momjian 082df47b2e Add:
> * Add database name and user name to logging options
2003-07-30 18:52:06 +00:00
Tom Lane 9c2a7c2269 Apply (a somewhat revised version of) Greg Mullane's patch to eliminate
heuristic determination of day vs month in date/time input.  Add the
ability to specify that input is interpreted as yy-mm-dd order (which
formerly worked, but only for yy greater than 31).  DateStyle's input
component now has the preferred spellings DMY, MDY, or YMD; the older
keywords European and US are now aliases for the first two of these.
Per recent discussions on pgsql-general.
2003-07-29 00:03:19 +00:00
Tom Lane 02d79e765b Rename psql's VERBOSE variable to VERBOSITY, per suggestion from Bruce. 2003-07-28 00:14:43 +00:00
Tom Lane 2d7a6a9ef2 Move ERRCODE_XXX macros into their own header file. 2003-07-27 18:37:52 +00:00
Tom Lane e8db9b26d0 elog mop-up. 2003-07-27 17:10:07 +00:00
Bruce Momjian 38fb906f93 > Joe Conway <mail@joeconway.com> writes:
>>ISTM that "source" is worth knowing.
>
> Hm, possibly.  Any other opinions?

This version has the seven fields I proposed, including "source". Here's
an example that shows why I think it's valuable:

regression=# \x
Expanded display is on.
regression=# select * from pg_settings where name = 'enable_seqscan';
-[ RECORD 1 ]-----------
name    | enable_seqscan
setting | on
context | user
vartype | bool
source  | default
min_val |
max_val |

regression=# update pg_settings set setting = 'off' where name =
'enable_seqscan';
-[ RECORD 1 ]---
set_config | off

regression=# select * from pg_settings where name = 'enable_seqscan';
-[ RECORD 1 ]-----------
name    | enable_seqscan
setting | off
context | user
vartype | bool
source  | session
min_val |
max_val |

regression=# alter user postgres set enable_seqscan to 'off';
ALTER USER

(log out and then back in again)

regression=# \x
Expanded display is on.
regression=# select * from pg_settings where name = 'enable_seqscan';
-[ RECORD 1 ]-----------
name    | enable_seqscan
setting | off
context | user
vartype | bool
source  | user
min_val |
max_val |

In the first case, enable_seqscan is set to its default value. After
setting it to off, it is obvious that the value has been changed for the
session only. In the third case, you can see that the value has been set
specifically for the user.

Joe Conway
2003-07-27 04:35:54 +00:00
Bruce Momjian 9df48371c2 here are the patches for psql on Win32:
psql4win32.patch  - changes in the psql source code
  psql-ref.patch    - changes in the documentation psql-ref.sgml
                      (for new builtin variable WIN32_CONSOLE)

To apply them use "patch -p 1" in the root directory of the
postgres source directory.

These patches fix the following problems of psql on Win32
(all changes only have effect #ifdef WIN32):

  a) Problem:  Static library libpq.a did not work
     Solution: Added WSAStartup() in fe-connect.c

  b) Problem:  Secret Password was echoed by psql
     Solution: Password echoing disabled in sprompt.c

  c) Problem:  8bit characters were displayed/interpreted wrong in psql
               This is due to the fact that the Win32 "console" uses a
               different encoding than the rest of the Windows system
     Solution: Introduced a new psql variable WIN32_CONSOLE
               When set with "\set WIN32_console", the function OemToChar()
               is applied after reading input and CharToOem() before
               displaying Output

Christoph Dalitz
2003-07-27 03:32:26 +00:00
Bruce Momjian 397831e103 At long last I put together a patch to support 4 client SSL negotiation
modes (and replace the requiressl boolean). The four options were first
spelled out by Magnus Hagander <mha@sollentuna.net> on 2000-08-23 in email
to pgsql-hackers, archived here:

http://archives.postgresql.org/pgsql-hackers/2000-08/msg00639.php

My original less-flexible patch and the ensuing thread are archived at:

http://dbforums.com/t623845.html

Attached is a new patch, including documentation.

To sum up, there's a new client parameter "sslmode" and environment
variable "PGSSLMODE", with these options:

sslmode   description
-------   -----------
disable   Unencrypted non-SSL only
allow     Negotiate, prefer non-SSL
prefer    Negotiate, prefer SSL (default)
require   Require SSL

The only change to the server is a new pg_hba.conf line type,
"hostnossl", for specifying connections that are not allowed to use SSL
(for example, to prevent servers on a local network from accidentally
using SSL and wasting cycles). Thus the 3 pg_hba.conf line types are:

pg_hba.conf line types
----------------------
host       applies to either SSL or regular connections
hostssl    applies only to SSL connections
hostnossl  applies only to regular connections

These client and server options, the postgresql.conf ssl = false option,
and finally the possibility of compiling with no SSL support at all,
make quite a range of combinations to test. I threw together a test
script to try many of them out. It's in a separate tarball with its
config files, a patch to psql so it'll announce SSL connections even in
absence of a tty, and the test output. The test is especially informative
when run on the same tty the postmaster was started on, so the FATAL:
errors during negotiation are interleaved with the psql client output.

I saw Tom write that new submissions for 7.4 have to be in before midnight
local time, and since I'm on the east coast in the US, this just makes it
in before the bell. :)

Jon Jensen
2003-07-26 13:50:02 +00:00
Bruce Momjian 400fedc8f1 Done:
> * -Allow SSL-enabled clients to turn off SSL transfers
2003-07-25 22:08:36 +00:00
Bruce Momjian 02c3231937 Add mention of new SSL capabilities. 2003-07-25 22:07:44 +00:00
Tom Lane 689eb53e47 Error message editing in backend/utils (except /adt). 2003-07-25 20:18:01 +00:00
Peter Eisentraut f1a27b120d Begin improving markup of (past) release notes. 2003-07-25 09:00:17 +00:00
Bruce Momjian d36fef11d0 Add to 7.3.4 release notes:
* Repair breakage in timestamp-to-date conversion for dates before 2000
2003-07-24 00:43:53 +00:00
Bruce Momjian 93395de092 New WAL fix release text is:
Prevent rare possibility of server startup failure (Tom)
2003-07-23 22:58:38 +00:00
Bruce Momjian 0221bc97cf Mention increasing sort_mem during a restore. 2003-07-23 20:30:35 +00:00
Bruce Momjian 7d06fc01e3 Add:
> * Add GUC variable to prevent waiting on locks
2003-07-23 18:16:39 +00:00
Bruce Momjian bd95e21594 Rename --with-threads to --enable-thread-safeness, per Peter. 2003-07-23 17:27:28 +00:00
Bruce Momjian c9bd4bfab1 Update German FAQ. 2003-07-23 17:08:04 +00:00
Bruce Momjian d41d724601 Update FAQ.
Ian Barwick
2003-07-23 16:55:47 +00:00
Tom Lane 18db343773 Just a spot of copy-editing. 2003-07-23 15:05:42 +00:00
Bruce Momjian a0743b132e Update to 7.3.4 as newest release. 2003-07-23 04:11:21 +00:00
Bruce Momjian a7e898785b Stamp 7.3.4. 2003-07-23 04:08:44 +00:00
Bruce Momjian a0cc9f3cb9 Add GUC parameter to control rendezvous name. 2003-07-22 20:29:13 +00:00
Tom Lane b05d3ae1ed Error message editing in backend/libpq, backend/postmaster, backend/tcop.
Along the way, fix some logic problems in pgstat_initstats, notably the
bogus assumption that malloc returns zeroed memory.
2003-07-22 19:00:12 +00:00
Bruce Momjian 11cb598c39 Add:
> 	o Allow PL/pgSQL to name columns by ordinal position, e.g. rec.(3)
2003-07-22 01:06:51 +00:00
Bruce Momjian 5ff532e14b Add:
> * Prevent COMMENT ON DATABASE from using a database name
2003-07-22 00:49:22 +00:00
Bruce Momjian e4c5b9806e Add:
> 	o Add PL/PHP (Joe, Jan)
2003-07-21 19:15:48 +00:00
Bruce Momjian ad8181c477 Add:
> * Have AFTER triggers execute after the appropriate SQL statement in a
>   function, not at the end of the function
2003-07-21 19:04:54 +00:00
Bruce Momjian a605382670 I updated Japanese translation of PostgreSQL FAQ
according to your version on May/30.
(HTML and TEXT files are gzipped.)

  Jun Kuwamura
2003-07-21 04:18:41 +00:00
Bruce Momjian 46bc587007 Update URL's. 2003-07-20 21:52:46 +00:00
Bruce Momjian 81ece923d6 Done:
* -Allow LIMIT/OFFSET to use expressions (Tom)
2003-07-20 19:21:41 +00:00
Bruce Momjian 2f46ac5211 Add:
> * Delay resolution of array expression type so assignment coercion
>   can be performed on empty array expressions (Joe)
2003-07-20 03:12:13 +00:00
Bruce Momjian 0230380666 Add tablespace email. 2003-07-19 14:09:24 +00:00
Tom Lane 216311d590 First bits of work on error message editing. 2003-07-18 23:20:33 +00:00
Bruce Momjian fd4c775481 Stephen Robert Norris wrote:
> Well, no. What it says is that certain values must be escaped (but
> doesn't say which ones). Then it says there are alternate escape
> sequences for some values, which it lists.
>
> It doesn't say "The following table contains the characters which must
> be escaped:", which would be much clearer (and actually useful).

Attached documentation patch updates the wording for bytea input
escaping, per complaint by Stephen Norris above.

Joe Conway
2003-07-18 03:45:06 +00:00
Tom Lane 764f72dc82 Make EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL convention
for the sign of timezone offsets, ie, positive is east from UTC.  These
were previously out of step with other operations that accept or show
timezones, such as I/O of timestamptz values.
2003-07-17 00:55:37 +00:00
Tom Lane cfa6999d3b Cause SHOW DATESTYLE to produce a string that will be accepted by SET
DATESTYLE, for instance 'SQL, European' instead of
'SQL with European conventions'.  Per gripe a month or two back from
Barry Lind.
2003-07-15 19:19:56 +00:00
Tom Lane de98a7e23a The default values for shared_buffers and max_connections are now 1000
and 100 respectively, if the platform will allow it.  initdb selects
values that are not too large to allow the postmaster to start, and
places these values in the installed postgresql.conf file.  This allows
us to continue to start up out-of-the-box on platforms with small SHMMAX,
while having somewhat-realistic default settings on platforms with
reasonable SHMMAX.  Per recent pghackers discussion.
2003-07-14 20:00:23 +00:00
Bruce Momjian 4afcba05de Doc update for LOG_MIN_DURATION_STATEMENT set to zero. 2003-07-09 08:52:56 +00:00