OSDN Git Service

pg-rex/syncrep.git
16 years agoDocument how to control the disk write cache on Solaris.
Bruce Momjian [Sat, 29 Dec 2007 17:55:07 +0000 (17:55 +0000)]
Document how to control the disk write cache on Solaris.

Zdenek Kotala

16 years agoRemove tab in file name
Bruce Momjian [Sat, 29 Dec 2007 04:59:27 +0000 (04:59 +0000)]
Remove tab in file name

16 years agoDocument that null ciphers are not recommended.
Bruce Momjian [Sat, 29 Dec 2007 04:27:02 +0000 (04:27 +0000)]
Document that null ciphers are not recommended.

Mark Mielke

16 years agoUpdate docs mentioning PAM doesn't work reading /etc/passwd because of
Bruce Momjian [Sat, 29 Dec 2007 04:15:38 +0000 (04:15 +0000)]
Update docs mentioning PAM doesn't work reading /etc/passwd because of
non-root.

Dhanaraj M

16 years agoDoc wording improvment.
Bruce Momjian [Sat, 29 Dec 2007 03:44:34 +0000 (03:44 +0000)]
Doc wording improvment.

16 years agoDocument problem with NULL SSL ciphers and man-in-the-middle attacks.
Bruce Momjian [Sat, 29 Dec 2007 03:36:56 +0000 (03:36 +0000)]
Document problem with NULL SSL ciphers and man-in-the-middle attacks.

16 years agoUpdate examples in planstats.sgml for 8.3, and improve some aspects of
Tom Lane [Fri, 28 Dec 2007 21:03:31 +0000 (21:03 +0000)]
Update examples in planstats.sgml for 8.3, and improve some aspects of
that discussion.  Add a link from perform.sgml.

16 years agoUpdate docs: client always gets server certificate
Bruce Momjian [Fri, 28 Dec 2007 16:21:08 +0000 (16:21 +0000)]
Update docs:  client always gets server certificate

16 years agomay -> might
Peter Eisentraut [Fri, 28 Dec 2007 12:32:56 +0000 (12:32 +0000)]
may -> might

16 years agoSorry, hit the wrong button with my last commit. Here's the correct changelog:
Michael Meskes [Fri, 28 Dec 2007 11:30:54 +0000 (11:30 +0000)]
Sorry, hit the wrong button with my last commit. Here's the correct changelog:

Applied patch send by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to fix bug in connect statement if user name is a variable.
Also fixed test case that didn't detect this.

16 years ago*** empty log message ***
Michael Meskes [Fri, 28 Dec 2007 11:25:21 +0000 (11:25 +0000)]
*** empty log message ***

16 years agoDisable LOT for the time being because of TeX problems
Peter Eisentraut [Fri, 28 Dec 2007 11:14:19 +0000 (11:14 +0000)]
Disable LOT for the time being because of TeX problems

16 years agoUpdate required TeX settings
Peter Eisentraut [Fri, 28 Dec 2007 11:13:55 +0000 (11:13 +0000)]
Update required TeX settings

16 years agoImprove consistency of error reporting in GUC assign_hook routines. Some
Tom Lane [Fri, 28 Dec 2007 00:23:23 +0000 (00:23 +0000)]
Improve consistency of error reporting in GUC assign_hook routines.  Some
were reporting ERROR for interactive assignments and LOG for other cases,
some were saying nothing for non-interactive cases, and a few did yet other
things.  Make them use a new function GUC_complaint_elevel() to establish
a reasonably uniform policy about how to report.  There are still a few
edge cases such as assign_search_path(), but it's much better than before.
Per gripe from Devrim Gunduz and subsequent discussion.

As noted by Alvaro, it'd be better to fold these custom messages into the
standard "invalid parameter value" complaint from guc.c, perhaps as the DETAIL
field.  However that will require more redesign than seems prudent for 8.3.
This is a relatively safe, low-impact change that we can afford to risk now.

16 years agoDisallow digits and lower-case ASCII letters as the delimiter in non-CSV
Tom Lane [Thu, 27 Dec 2007 18:28:58 +0000 (18:28 +0000)]
Disallow digits and lower-case ASCII letters as the delimiter in non-CSV
COPY.  We need a restriction here because when the delimiter occurs as a
data character, it is emitted with a backslash, and that will only work
as desired if CopyReadAttributesText() will interpret the backslash sequence
as representing the second character literally.  This is currently untrue
for 'b', 'f', 'n', 'r', 't', 'v', 'x', and octal digits.  For future-proofing
and simplicity of explanation, it seems best to disallow a-z and 0-9.
We must also disallow dot, since "\." by itself would look like copy EOF.
Note: "\N" is by default the null print string, so N would also cause a
problem, but that is already tested for.

16 years agoFix ill-advised usage of x?y:z expressions in errmsg() and errhint() calls.
Tom Lane [Thu, 27 Dec 2007 17:00:56 +0000 (17:00 +0000)]
Fix ill-advised usage of x?y:z expressions in errmsg() and errhint() calls.
This prevented gettext from recognizing the strings that need to be
translated.

16 years agoSwap the order of testing for control characters and for column delimiter in
Tom Lane [Thu, 27 Dec 2007 16:45:22 +0000 (16:45 +0000)]
Swap the order of testing for control characters and for column delimiter in
CopyAttributeOutText(), so that control characters are converted to the
C-style escape sequences even if they happen to be equal to the column
delimiter (as is true by default for tab, for example).  Oversight in my
previous patch to restore pre-8.3 behavior of COPY OUT escaping.  Per report
from Tomas Szepe.

16 years agoWording improvements
Peter Eisentraut [Thu, 27 Dec 2007 13:02:48 +0000 (13:02 +0000)]
Wording improvements

16 years agoUpdate docs to clarify purpose of SSL key file
Bruce Momjian [Tue, 25 Dec 2007 17:06:52 +0000 (17:06 +0000)]
Update docs to clarify purpose of SSL key file

16 years agoAdd two documentation tables to outline SSL file usage for client and server.
Bruce Momjian [Tue, 25 Dec 2007 06:15:34 +0000 (06:15 +0000)]
Add two documentation tables to outline SSL file usage for client and server.

16 years agoAdd documentation section about preventing server spoofing.
Bruce Momjian [Tue, 25 Dec 2007 04:00:44 +0000 (04:00 +0000)]
Add documentation section about preventing server spoofing.

Update SSL documention to be clearer about certificates, and restructure
for clarity.

16 years agoProperly indent SGML paragraph.
Bruce Momjian [Sun, 23 Dec 2007 03:10:04 +0000 (03:10 +0000)]
Properly indent SGML paragraph.

16 years agoRemove paragraph about Linux OOM killer and fork(). Instead link to
Bruce Momjian [Sat, 22 Dec 2007 05:13:03 +0000 (05:13 +0000)]
Remove paragraph about Linux OOM killer and fork(). Instead link to
article about OOM.

16 years agoMove item to proper section:
Bruce Momjian [Fri, 21 Dec 2007 21:20:27 +0000 (21:20 +0000)]
Move item to proper section:

< * Experiment with multi-threaded backend better resource utilization
<
<   This would allow a single query to make use of multiple CPU's or
<   multiple I/O channels simultaneously.  One idea is to create a
<   background reader that can pre-fetch sequential and index scan
<   pages needed by other backends.  This could be expanded to allow
<   concurrent reads from multiple devices in a partitioned table.
<
> * Experiment with multi-threaded backend better resource utilization
>
>   This would allow a single query to make use of multiple CPU's or
>   multiple I/O channels simultaneously.  One idea is to create a
>   background reader that can pre-fetch sequential and index scan
>   pages needed by other backends.  This could be expanded to allow
>   concurrent reads from multiple devices in a partitioned table.

16 years agoUpdate find_typedefs to handle simple 'typedef X' cases, per request
Bruce Momjian [Fri, 21 Dec 2007 21:02:41 +0000 (21:02 +0000)]
Update find_typedefs to handle simple 'typedef X' cases, per request
from Tom.

16 years agoFixed a few minor glitches pointed out by splint.
Michael Meskes [Fri, 21 Dec 2007 14:33:20 +0000 (14:33 +0000)]
Fixed a few minor glitches pointed out by splint.

16 years agoModify pgindent to use an external typedefs file rather than included
Bruce Momjian [Fri, 21 Dec 2007 14:20:36 +0000 (14:20 +0000)]
Modify pgindent to use an external typedefs file rather than included
list.

Remove pgjindent.

16 years agolibpq needs pgsleep on win32 because of the changes to port/open.c.
Magnus Hagander [Fri, 21 Dec 2007 09:03:31 +0000 (09:03 +0000)]
libpq needs pgsleep on win32 because of the changes to port/open.c.

16 years agoFix a small typo, per Jan Urbanski
Tom Lane [Fri, 21 Dec 2007 03:37:18 +0000 (03:37 +0000)]
Fix a small typo, per Jan Urbanski

16 years agoOn win32, loop when opening files if sharing- och lock-violation errors
Magnus Hagander [Thu, 20 Dec 2007 20:27:53 +0000 (20:27 +0000)]
On win32, loop when opening files if sharing- och lock-violation errors
occur. Hopefully, this will make it possible to recover from broken
antivirus and/or backup software that locks our files.

16 years agoWhen given a nonzero column number, pg_get_indexdef() is only supposed to
Tom Lane [Thu, 20 Dec 2007 00:23:19 +0000 (00:23 +0000)]
When given a nonzero column number, pg_get_indexdef() is only supposed to
print the index key variable or expression for that column.  It was mistakenly
printing ASC/DESC/NULLS FIRST/NULLS LAST decoration too --- and not only for
the target column, but all columns.  Someday we should have an option to
extract that info (and the opclass decoration as well) for a single index
column ... but today is not that day.  Per bug #3829 and subsequent
discussion.

16 years agoRemove unnecessary logo output from msbuild when cleaning ecpg regression
Magnus Hagander [Wed, 19 Dec 2007 12:31:35 +0000 (12:31 +0000)]
Remove unnecessary logo output from msbuild when cleaning ecpg regression
test outputs.

16 years agoMake all msvc build scripts use buildenv.pl, not buildenv.bat.
Magnus Hagander [Wed, 19 Dec 2007 12:29:36 +0000 (12:29 +0000)]
Make all msvc build scripts use buildenv.pl, not buildenv.bat.

Andrew Dunstan

16 years agoFix thinko in encoding check for chr()
Andrew Dunstan [Tue, 18 Dec 2007 18:01:48 +0000 (18:01 +0000)]
Fix thinko in encoding check for chr()

16 years agoMake archiver process report its progress in PS display. Per
Tom Lane [Tue, 18 Dec 2007 00:49:34 +0000 (00:49 +0000)]
Make archiver process report its progress in PS display.  Per
proposal by Simon Riggs, though not exactly his patch.

16 years agoMake path_recv() and poly_recv() reject paths/polygons containing no points.
Tom Lane [Tue, 18 Dec 2007 00:04:08 +0000 (00:04 +0000)]
Make path_recv() and poly_recv() reject paths/polygons containing no points.
The zero-point case is sensible so far as the data structure is concerned,
so maybe we ought to allow it sometime; but right now the textual input
routines for these types don't allow it, and it seems that not all the
functions for the types are prepared to cope.
Report and patch by Merlin Moncure.

16 years agoUpdate pg_ctk/kill docs.
Bruce Momjian [Mon, 17 Dec 2007 14:00:52 +0000 (14:00 +0000)]
Update pg_ctk/kill docs.

16 years agoRemove tab in SGML file.
Bruce Momjian [Mon, 17 Dec 2007 13:54:10 +0000 (13:54 +0000)]
Remove tab in SGML file.

16 years agoImprove wording.
Alvaro Herrera [Mon, 17 Dec 2007 13:48:31 +0000 (13:48 +0000)]
Improve wording.

16 years agoUpdate archive_command example to use || test, rather than if [].
Bruce Momjian [Mon, 17 Dec 2007 09:03:52 +0000 (09:03 +0000)]
Update archive_command example to use || test, rather than if [].

16 years agoSome desultory copy-editing on the backup/restore docs.
Tom Lane [Mon, 17 Dec 2007 04:30:05 +0000 (04:30 +0000)]
Some desultory copy-editing on the backup/restore docs.

16 years agoMention use all configure options when getting pgindent typedefs.
Bruce Momjian [Mon, 17 Dec 2007 02:02:48 +0000 (02:02 +0000)]
Mention use all configure options when getting pgindent typedefs.

16 years agoMention installing /contrib libraries for pgindent.
Bruce Momjian [Mon, 17 Dec 2007 01:56:43 +0000 (01:56 +0000)]
Mention installing /contrib libraries for pgindent.

16 years agoUpdate item description:
Bruce Momjian [Mon, 17 Dec 2007 01:40:54 +0000 (01:40 +0000)]
Update item description:

* Consider having the background writer update the transaction status
  hint bits before writing out the page

  Implementing this requires the background writer to have access to system
  catalogs and the transaction status log.

16 years agoMake an editorial pass over the newly SGML-ified contrib documentation.
Tom Lane [Sun, 16 Dec 2007 23:00:42 +0000 (23:00 +0000)]
Make an editorial pass over the newly SGML-ified contrib documentation.
Fix lots of bad markup, bad English, bad explanations.

Last ones ... whew.  Man, that was tedious.

16 years agoWindows write-cache wording improvement.
Bruce Momjian [Sun, 16 Dec 2007 14:05:12 +0000 (14:05 +0000)]
Windows write-cache wording improvement.

16 years agoUpdate write-cache docs to mention windows behavior for various
Bruce Momjian [Sun, 16 Dec 2007 14:03:32 +0000 (14:03 +0000)]
Update write-cache docs to mention windows behavior for various
fsync_methods.

Magnus.

16 years agoMention that HOT helps with DELETE space reuse.
Bruce Momjian [Sun, 16 Dec 2007 13:05:30 +0000 (13:05 +0000)]
Mention that HOT helps with DELETE space reuse.

16 years agoUpdate OOM wording.
Bruce Momjian [Sun, 16 Dec 2007 11:24:25 +0000 (11:24 +0000)]
Update OOM wording.

16 years agoAdd docs about OOM killer.
Bruce Momjian [Sun, 16 Dec 2007 11:22:33 +0000 (11:22 +0000)]
Add docs about OOM killer.

lst_hoe01@kwsoft.de

16 years agoMention pg_ctl kill for Win32 in docs.
Bruce Momjian [Sun, 16 Dec 2007 10:17:13 +0000 (10:17 +0000)]
Mention pg_ctl kill for Win32 in docs.

16 years agoUpdate pgpool-II mention.
Bruce Momjian [Sun, 16 Dec 2007 09:44:27 +0000 (09:44 +0000)]
Update pgpool-II mention.

16 years agoMark 8.3 as likely now January, 2008 in release notes.
Bruce Momjian [Sun, 16 Dec 2007 07:19:32 +0000 (07:19 +0000)]
Mark 8.3 as likely now January, 2008 in release notes.

16 years agoGet dllwrap name from variable instead of hardcoded.
Magnus Hagander [Sat, 15 Dec 2007 16:21:35 +0000 (16:21 +0000)]
Get dllwrap name from variable instead of hardcoded.

Per complaint from Richard Evans

16 years agoFix example archive_command for standalone backups so it doesn't return spurious...
Andrew Dunstan [Sat, 15 Dec 2007 15:41:02 +0000 (15:41 +0000)]
Fix example archive_command for standalone backups so it doesn't return spurious non-zero.

16 years agoUse clearer error message for gmake postgres.pdf:
Bruce Momjian [Sat, 15 Dec 2007 10:28:21 +0000 (10:28 +0000)]
Use clearer error message for gmake postgres.pdf:

  Makefile:171: *** Invalid target;  use postgres-A4.pdf or postgres-US.pdf as targets.  Stop.

16 years agoImprove documentation about Julian dates; in particular, point out the
Tom Lane [Sat, 15 Dec 2007 01:18:34 +0000 (01:18 +0000)]
Improve documentation about Julian dates; in particular, point out the
difference between Julian and Gregorian reckoning of when JD 0 was.

16 years agoMake error message more accurate
Peter Eisentraut [Fri, 14 Dec 2007 14:11:02 +0000 (14:11 +0000)]
Make error message more accurate

16 years agoAdd default error rules for making postgres.pdf and postgres.ps,
Bruce Momjian [Fri, 14 Dec 2007 13:20:30 +0000 (13:20 +0000)]
Add default error rules for making postgres.pdf and postgres.ps,
suggesting proper target names.

16 years agoCorrect result type of convert_to, per Pavel Stehule.
Alvaro Herrera [Thu, 13 Dec 2007 13:22:05 +0000 (13:22 +0000)]
Correct result type of convert_to, per Pavel Stehule.

16 years agoClarify log messages
Peter Eisentraut [Thu, 13 Dec 2007 11:55:44 +0000 (11:55 +0000)]
Clarify log messages

16 years agoChange a couple of examples to say ALTER MAPPING instead of ADD MAPPING,
Tom Lane [Thu, 13 Dec 2007 06:32:47 +0000 (06:32 +0000)]
Change a couple of examples to say ALTER MAPPING instead of ADD MAPPING,
per Oleg.

16 years agoMark items needing updating for beta stamping.
Bruce Momjian [Thu, 13 Dec 2007 02:02:20 +0000 (02:02 +0000)]
Mark items needing updating for beta stamping.

16 years agoImprove the method of localizing column names and other fixed strings in
Tom Lane [Wed, 12 Dec 2007 21:41:47 +0000 (21:41 +0000)]
Improve the method of localizing column names and other fixed strings in
psql's \d commands and other uses of printQuery().  Previously we would pass
these strings through gettext() and then send them to the server as literals
in the SQL query.  But the code was not set up to handle doubling of quotes in
the strings, causing failure if a translation attempted to use the wrong kind
of quote marks, as indeed is now the case for (at least) the French
translation of \dFp.  Another hazard was that gettext() would translate to
whatever encoding was implied by the client's LC_CTYPE setting, which might be
different from the client_encoding setting, which would probably cause the
server to reject the query as mis-encoded.  The new arrangement is to send the
untranslated ASCII strings to the server, and do the translations inside
printQuery() after the query results come back.  Per report from Guillaume
Lelarge and subsequent discussion.

16 years agoClean up unportable attempt to use #if inside a macro call, also
Tom Lane [Wed, 12 Dec 2007 16:53:14 +0000 (16:53 +0000)]
Clean up unportable attempt to use #if inside a macro call, also
faulty code in third arm of #if.  Per buildfarm reports.

16 years agoProvide a more accurate, detailed log message when the archive command fails.
Peter Eisentraut [Wed, 12 Dec 2007 09:39:54 +0000 (09:39 +0000)]
Provide a more accurate, detailed log message when the archive command fails.

16 years agoAdd random I/O URL:
Bruce Momjian [Wed, 12 Dec 2007 07:06:27 +0000 (07:06 +0000)]
Add random I/O URL:

>   http://archives.postgresql.org/pgsql-hackers/2007-12/msg00027.php

16 years agoThis item was fixed in a different way, so has been removed:
Bruce Momjian [Wed, 12 Dec 2007 06:59:56 +0000 (06:59 +0000)]
This item was fixed in a different way, so has been removed:

<
< * Allow free-behind capability for large sequential scans to avoid
<   kernel cache spoiling
<
<   Posix_fadvise() can control both sequential/random file caching and
<   free-behind behavior, but it is unclear how the setting affects other
<   backends that also have the file open, and the feature is not supported
<   on all operating systems.

16 years agoAdjust release notes for HISTORY.html generation.
Bruce Momjian [Wed, 12 Dec 2007 06:58:33 +0000 (06:58 +0000)]
Adjust release notes for HISTORY.html generation.

16 years agoChange 'merge sort join', a phrase we use nowhere else, to the more
Tom Lane [Wed, 12 Dec 2007 06:23:27 +0000 (06:23 +0000)]
Change 'merge sort join', a phrase we use nowhere else, to the more
usual 'merge join'.

16 years agoMake CSV column ordering a bit more logical.
Alvaro Herrera [Tue, 11 Dec 2007 20:07:31 +0000 (20:07 +0000)]
Make CSV column ordering a bit more logical.

16 years agoMake documentation of -W options more accurate and uniform.
Tom Lane [Tue, 11 Dec 2007 19:57:32 +0000 (19:57 +0000)]
Make documentation of -W options more accurate and uniform.

16 years agoRemove the long-deprecated -u option from psql, since it does nothing very
Tom Lane [Tue, 11 Dec 2007 19:01:06 +0000 (19:01 +0000)]
Remove the long-deprecated -u option from psql, since it does nothing very
useful and confuses people who think it is the same as -U.  (Eventually
we might want to re-introduce it as being an alias for -U, but that should
not happen until the switch has actually not been there for a few releases.)
Likewise in pg_dump and pg_restore.  Per gripe from Robert Treat and
subsequent discussion.

16 years agoTypo pointed out by Erwin Brandstetter. Remove the whole makes it even
Magnus Hagander [Tue, 11 Dec 2007 18:30:20 +0000 (18:30 +0000)]
Typo pointed out by Erwin Brandstetter. Remove the whole makes it even
better, per JD.

16 years agoExtend the format of CSV logs to include the additional information supplied
Alvaro Herrera [Tue, 11 Dec 2007 15:19:05 +0000 (15:19 +0000)]
Extend the format of CSV logs to include the additional information supplied
with the logged event.  CSV logs are now a first-class citizen along plain
text logs in that they carry much of the same information.

Per complaint from depesz on bug #3799.

16 years agoUse _USE_32BIT_TIME_T when building with MSVC. Also, enforce that it's
Magnus Hagander [Tue, 11 Dec 2007 14:34:43 +0000 (14:34 +0000)]
Use _USE_32BIT_TIME_T when building with MSVC. Also, enforce that it's
used when building addons.

Dave Page

16 years agoRemove the -P options of oid2name and pgbench, as they are security
Tom Lane [Tue, 11 Dec 2007 02:31:49 +0000 (02:31 +0000)]
Remove the -P options of oid2name and pgbench, as they are security
hazards.  Instead teach these programs to prompt for a password when
necessary, just like all our other programs.
I did not bother to invent -W switches for them, since the return on
investment seems so low.

16 years agoMake vacuumlo prompt for password when needed, thus making its -W
Tom Lane [Tue, 11 Dec 2007 02:08:59 +0000 (02:08 +0000)]
Make vacuumlo prompt for password when needed, thus making its -W
switch optional, as is the case for every other one of our programs.
I had already documented its -W as being optional, so this is bringing
the code into line with the docs ...

16 years agoRemove Stefan Kaltenbrunner mention from full text release note item.
Bruce Momjian [Mon, 10 Dec 2007 23:38:43 +0000 (23:38 +0000)]
Remove Stefan Kaltenbrunner mention from full text release note item.

16 years agoAdd release note introduction.
Bruce Momjian [Mon, 10 Dec 2007 23:37:49 +0000 (23:37 +0000)]
Add release note introduction.

16 years agoMention Stefan Kaltenbrunner as contributor for text search because of
Bruce Momjian [Mon, 10 Dec 2007 22:14:52 +0000 (22:14 +0000)]
Mention Stefan Kaltenbrunner as contributor for text search because of
psql work.

16 years agoWording improvement for write-cache disabling instructions.
Bruce Momjian [Mon, 10 Dec 2007 22:08:36 +0000 (22:08 +0000)]
Wording improvement for write-cache disabling instructions.

16 years agoWrite cache doc cleanups
Bruce Momjian [Mon, 10 Dec 2007 14:51:10 +0000 (14:51 +0000)]
Write cache doc cleanups

Greg Smith

16 years agoDocument how to turn off disk write cache on popular operating systems.
Bruce Momjian [Mon, 10 Dec 2007 14:05:05 +0000 (14:05 +0000)]
Document how to turn off disk write cache on popular operating systems.

16 years agoMake an editorial pass over the newly SGML-ified contrib documentation.
Tom Lane [Mon, 10 Dec 2007 05:32:51 +0000 (05:32 +0000)]
Make an editorial pass over the newly SGML-ified contrib documentation.
Fix lots of bad markup, bad English, bad explanations.

Second round of commits.  pgcrypto and pgstandby still to go...

16 years agoChange the "distributed checkpoint" release note item to Greg Smith's proposed
Alvaro Herrera [Mon, 10 Dec 2007 01:48:54 +0000 (01:48 +0000)]
Change the "distributed checkpoint" release note item to Greg Smith's proposed
wording.

16 years agoUpdate Brazilian FAQ.
Bruce Momjian [Mon, 10 Dec 2007 00:34:06 +0000 (00:34 +0000)]
Update Brazilian FAQ.

Euler Taveira de Oliveira

16 years agoFAQ wording and markup fix.
Bruce Momjian [Mon, 10 Dec 2007 00:32:25 +0000 (00:32 +0000)]
FAQ wording and markup fix.

Euler Taveira de Oliveira

16 years agoFix attribution for Rime of the Ancient Mariner (obviously it's been
Tom Lane [Mon, 10 Dec 2007 00:12:31 +0000 (00:12 +0000)]
Fix attribution for Rime of the Ancient Mariner (obviously it's been
too long since freshman English :-()

16 years agoThe E. J. Pratt verse used as a tsearch test case is unfortunately still
Tom Lane [Sun, 9 Dec 2007 21:01:18 +0000 (21:01 +0000)]
The E. J. Pratt verse used as a tsearch test case is unfortunately still
under copyright in the US and many other places.  Substitute a little
something from a poet who's more safely dead.  Per gripe from Bjorn Munch.

16 years agoFix bogus prompt for password in -u case. Per gripe from Robert Treat.
Tom Lane [Sun, 9 Dec 2007 19:04:47 +0000 (19:04 +0000)]
Fix bogus prompt for password in -u case.  Per gripe from Robert Treat.

16 years agoFix up the PQconnectionUsedPassword mess: create a separate
Tom Lane [Sun, 9 Dec 2007 19:01:40 +0000 (19:01 +0000)]
Fix up the PQconnectionUsedPassword mess: create a separate
PQconnectionNeedsPassword function that tells the right thing for whether to
prompt for a password, and improve PQconnectionUsedPassword so that it checks
whether the password used by the connection was actually supplied as a
connection argument, instead of coming from environment or a password file.
Per bug report from Mark Cave-Ayland and subsequent discussion.

16 years agoFix completely-bogus volatility markings on pg_trgm functions.
Tom Lane [Sun, 9 Dec 2007 02:22:46 +0000 (02:22 +0000)]
Fix completely-bogus volatility markings on pg_trgm functions.

16 years agoFix mergejoin cost estimation so that we consider the statistical ranges of
Tom Lane [Sat, 8 Dec 2007 21:05:11 +0000 (21:05 +0000)]
Fix mergejoin cost estimation so that we consider the statistical ranges of
the two join variables at both ends: not only trailing rows that need not be
scanned because there cannot be a match on the other side, but initial rows
that will be scanned without possibly having a match.  This allows a more
realistic estimate of startup cost to be made, per recent pgsql-performance
discussion.  In passing, fix a couple of bugs that had crept into
mergejoinscansel: it was not quite up to speed for the task of estimating
descending-order scans, which is a new requirement in 8.3.

16 years agoIn the release notes, mention that the "Overview" items are listed in
Bruce Momjian [Sat, 8 Dec 2007 17:24:03 +0000 (17:24 +0000)]
In the release notes, mention that the "Overview" items are listed in
the sections below in more detail.

16 years agoIn release notes, mention "most" updates are improved with HOT.
Bruce Momjian [Fri, 7 Dec 2007 21:22:34 +0000 (21:22 +0000)]
In release notes, mention "most" updates are improved with HOT.

16 years agoRemove completed 8.3 TODO items:
Bruce Momjian [Fri, 7 Dec 2007 17:52:15 +0000 (17:52 +0000)]
Remove completed 8.3 TODO items:

<  o -Allow commenting of variables in postgresql.conf to restore them
<    to defaults
<  o -Add a GUC variable to control the tablespace for temporary objects
<    and sort files
< Monitoring
< ==========
<
< * -Allow server log information to be output as CSV format
< * -Add ability to monitor the use of temporary sort files
< * -Allow user-defined types to accept 'typmod' parameters
<
<   http://archives.postgresql.org/pgsql-hackers/2005-08/msg01142.php
<   http://archives.postgresql.org/pgsql-hackers/2005-09/msg00012.php
<   http://archives.postgresql.org/pgsql-hackers/2006-08/msg00149.php
<
< * -Add Globally/Universally Unique Identifier (GUID/UUID)
<
<   http://archives.postgresql.org/pgsql-patches/2006-09/msg00209.php
<   http://archives.postgresql.org/pgsql-general/2007-01/msg00853.php
<
< * -Support a data type with specific enumerated values (ENUM)
<  o -Add support for arrays of complex types
<  o -Make 64-bit version of the MONEY data type
< * -Add ISO day of week format 'ID' to to_char() where Monday = 1
< * -Add a field 'isoyear' to extract(), based on the ISO week
< * -Add RESET SESSION command to reset all session state
<  o -Make CLUSTER preserve recently-dead tuples per MVCC requirements
<  o -Add more logical syntax CLUSTER table USING index;
<    support current syntax for backward compatibility
<  o -Allow UPDATE/DELETE WHERE CURRENT OF cursor
<  o -Add support for MOVE cursors
<  o -Allow PL/PythonU to return boolean rather than 1/0
<  o -Allow psql \pset boolean variables to set to fixed values, rather
<    than toggle
<  o -Add -f to pg_dumpall
< Dependency Checking
< ===================
<
< * -Flush cached query plans when the dependent objects change or
<   when new ANALYZE statistics are available
< * -Track dependencies in function bodies and recompile/invalidate
< * -Invalidate prepared queries, like INSERT, when the table definition
<   is altered
<
< * -Allow use of indexes to search for NULLs
< * -Allow the creation of indexes with mixed ascending/descending
<   specifiers
< * -Reduce checkpoint performance degredation by forcing data to disk
<   more evenly
< * -Allow sequential scans to take advantage of other concurrent
<   sequential scans, also called "Synchronised Scanning"
< * -Consider shrinking expired tuples to just their headers
< * -Allow heap reuse of UPDATEd rows if no indexed columns are changed,
<   and old and new versions are on the same heap page
< * -Reduce XID consumption of read-only queries
<  o -Turn on by default
<  o -Allow multiple vacuums so large tables do not starve small
<    tables
< * -Allow the pg_xlog directory location to be specified during initdb
<   with a symlink back to the /data location
< * -Allow buffered WAL writes and fsync
< * -Allow ORDER BY ... LIMIT # to select high/low value without sort or
<   index using a sequential scan for highest/lowest values
< * -Merge xmin/xmax/cmin/cmax back into three header fields
<  o -Support a smaller header for short variable-length fields
< * -Move NAMEDATALEN from postgres_ext.h to pg_config_manual.h
< * -Fix problem with excessive logging during SSL disconnection
<
<   http://archives.postgresql.org/pgsql-bugs/2006-12/msg00122.php
<   http://archives.postgresql.org/pgsql-bugs/2007-05/msg00065.php
<
<  o -Add long file support for binary pg_dump output

16 years agoUpdate HOT description to make index column changes clearer.
Bruce Momjian [Fri, 7 Dec 2007 17:42:49 +0000 (17:42 +0000)]
Update HOT description to make index column changes clearer.

16 years agoChange documentation, change "distributed" checkpoints to "smoothed"
Bruce Momjian [Fri, 7 Dec 2007 16:53:31 +0000 (16:53 +0000)]
Change documentation, change "distributed" checkpoints to "smoothed"
checkpoints.

16 years agoClean up a couple of problems in crosstab_hash's use of a hash table.
Tom Lane [Fri, 7 Dec 2007 16:44:58 +0000 (16:44 +0000)]
Clean up a couple of problems in crosstab_hash's use of a hash table.
The original coding leaked memory (at least 8K per crosstab_hash call)
because it allowed the hash table to be allocated as a child of
TopMemoryContext and then never freed it.  Fix that by putting the
hash table under per_query_ctx, instead.  Also get rid of use
of a static variable to point to the hash table.  Aside from being
ugly, that would actively do the wrong thing in the case of re-entrant
calls to crosstab_hash, which are at least theoretically possible
since it was expecting the static variable to stay valid across
a SPI_execute call.