1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-18 12:22:09 +03:00
Commit Graph

19662 Commits

Author SHA1 Message Date
Bruce Momjian
f7fa826041 Update Chinese FAQ, per Magnus. 2005-05-11 14:57:26 +00:00
Bruce Momjian
c20e93d363 Backpatch mention that not all functions are listed, with spelling fix. 2005-05-11 14:10:40 +00:00
Bruce Momjian
22b824ae39 Add mention that not all functions are listed.
Update Chinese FAQ for HTML.
2005-05-11 13:36:53 +00:00
Bruce Momjian
1608d48e15 Backpatch new Chinese FAQ to 8.0.X. 2005-05-11 02:13:21 +00:00
Bruce Momjian
4fa7615da8 Rename encryption section. REL8_0_3 2005-05-09 17:26:55 +00:00
Bruce Momjian
00283f4b0a Backpatch FAQ's to 8.0.X for release. 2005-05-09 17:24:04 +00:00
Bruce Momjian
014fce947d Backpatch encryption doc section to 8.0.X. 2005-05-09 17:14:47 +00:00
Tom Lane
8fae36881d Update release notes for upcoming re-releases. 2005-05-09 00:10:06 +00:00
Tom Lane
16379e3ae5 Update release checklist to reflect that HISTORY and INSTALL don't
need to be created by hand anymore.
2005-05-08 23:34:23 +00:00
Tom Lane
d6e30b0ba0 Repair very-low-probability race condition between relation extension
and VACUUM: in the interval between adding a new page to the relation
and formatting it, it was possible for VACUUM to come along and decide
it should format the page too.  Though not harmful in itself, this would
cause data loss if a third transaction were able to insert tuples into
the vacuumed page before the original extender got control back.
2005-05-07 21:32:53 +00:00
Tom Lane
aba1f93e45 Adjust time qual checking code so that we always check TransactionIdIsInProgress
before we check commit/abort status.  Formerly this was done in some paths
but not all, with the result that a transaction might be considered
committed for some purposes before it became committed for others.
Per example found by Jan Wieck.
2005-05-07 21:22:36 +00:00
Tom Lane
17eb867e98 Stamp release 8.0.3. 2005-05-05 20:07:36 +00:00
Tom Lane
266a8975da Make standalone backends ignore pg_database.datallowconn, so that there
is a way to recover from disabling connections to all databases at once.
2005-05-05 19:53:37 +00:00
Bruce Momjian
fbacd7838c Add WSACleanup() for Win32 socket cleanup.
Jason Erickson
2005-05-05 16:36:20 +00:00
Tom Lane
b22bbd6f6e Use postmaster_is_alive() check in pg_ctl restart as well as pg_ctl status,
so that restart doesn't fail when old postmaster died unbetimes.
2005-05-04 22:35:22 +00:00
Tom Lane
32083d2a5c Spell DELIMITER correctly, per Seamus Dean. 2005-05-04 14:25:30 +00:00
Tom Lane
4afab9639a Alter the signature for encoding conversion functions to declare the
output area as INTERNAL not CSTRING.  This is to prevent people from
calling the functions by hand.  This is a permanent solution for the
back branches but I hope it is just a stopgap for HEAD.
2005-05-03 19:18:16 +00:00
Tom Lane
298e077bc4 Change tsearch2 to not use the unsafe practice of creating functions
that return INTERNAL without also having INTERNAL arguments.  Since the
functions in question aren't meant to be called by hand anyway, I just
redeclared them to take 'internal' instead of 'text'.  Also add code
to ProcedureCreate() to enforce the restriction, as I should have done
to start with :-(
2005-05-03 16:51:22 +00:00
Dennis Bjorklund
d0069f5a71 Fix a whitespace problem. From Alvaro Herrera. 2005-05-03 06:28:24 +00:00
Neil Conway
323fe83608 Backport fix for correct quoting in CREATE DOMAIN example. Per Robert
Treat.
2005-05-02 01:56:16 +00:00
Tom Lane
50433d6533 Make record_out and record_send extract type information from the passed
record object itself, rather than relying on a second OID argument to be
correct.  This patch just changes the function behavior and not the
catalogs, so it's OK to back-patch to 8.0.  Will remove the now-redundant
second argument in pg_proc in a separate patch in HEAD only.
2005-04-30 20:04:46 +00:00
Neil Conway
757956ec47 GCC 4.0 includes a new warning option, -Wformat-literal, that emits
a warning when a variable is used as a format string for printf()
and similar functions (if the variable is derived from untrusted
data, it could include unexpected formatting sequences). This
emits too many warnings to be enabled by default, but it does
flag a few dubious constructs in the Postgres tree. This patch
fixes up the obvious variants: functions that are passed a variable
format string but no additional arguments.

Most of these are harmless (e.g. the ruleutils stuff), but there
is at least one actual bug here: if you create a trigger named
"%sfoo", pg_dump will read uninitialized memory and fail to dump
the trigger correctly.
2005-04-30 08:19:44 +00:00
Neil Conway
7ce01797bd This patch fixes a bug in the error message emitted by pg_restore on an
incorrect -F argument: write_msg() expects its first parameter to be a
"module name", not the format string.
2005-04-30 08:00:14 +00:00
Bruce Momjian
f22b3b2760 Improve cleanup from win32 client-only build. 2005-04-29 14:07:34 +00:00
Bruce Momjian
5f9d19cc23 Backpatch BCC compile changes to 8.0.X for psql. 2005-04-29 13:42:24 +00:00
Bruce Momjian
95cb42b968 Fix Borland makefile for libpq and improve it for psql.
Reorder MSC makefile to be more consistent and easier to maintain.
2005-04-29 04:21:39 +00:00
Bruce Momjian
115119e179 Wording improvement. 2005-04-27 20:11:11 +00:00
Bruce Momjian
5e46908a48 Update PAM documentation, per Alvaro. 2005-04-27 20:09:58 +00:00
Teodor Sigaev
46edb8efad workaround for bug in utils/date.h (timetz) 2005-04-27 13:01:27 +00:00
Bruce Momjian
575d7d0330 Mention that PAM requires the user already exist in the database, per
Dick Davies.
2005-04-26 03:01:22 +00:00
Tom Lane
73c195c607 Fix btree_gist to handle timetz zone correctly per recent changes. 2005-04-25 16:58:18 +00:00
Tom Lane
582dcae7e8 Repair two TIME WITH TIME ZONE bugs found by Dennis Vshivkov. Comparison
of timetz values misbehaved in --enable-integer-datetime cases, and
EXTRACT(EPOCH) subtracted the zone instead of adding it in all cases.
Backpatch to all supported releases (except --enable-integer-datetime code
does not exist in 7.2).
2005-04-23 22:53:26 +00:00
Tom Lane
58d0214ed8 int_aggregate's int_enum() doesn't work correctly with arrays that
aren't 1-D, so give an error message instead of failing.  Per report
from Ron Mayer.
2005-04-23 05:38:43 +00:00
Bruce Momjian
8e4b89ccf2 Backpatch of LIMIT / FOR UPDATE behavior, but keep pre-7.3 mention in 8.0.X. 2005-04-22 15:53:27 +00:00
Bruce Momjian
ddae2b6801 Clarify that only crypt can't use md5 pg_shadow passwords. 2005-04-22 04:19:02 +00:00
Bruce Momjian
4f6d275ac7 Clarify use of MD5 authentication and pg_shadow encryption. 2005-04-21 22:19:27 +00:00
Tom Lane
1275ad5056 Make pg_ctl status do a kill() test to verify that the PID found in
postmaster.pid still represents a live postmaster.
2005-04-20 23:10:22 +00:00
Tom Lane
eecc92564d Don't try to run clauseless index scans on index types that don't support
it.  Per report from Marinos Yannikos.
2005-04-20 21:48:12 +00:00
Tom Lane
25bd3019e0 Fix mis-display of negative fractional seconds in interval values for
--enable-integer-datetimes case.  Per report from Oliver Siegmar.
2005-04-20 17:14:58 +00:00
Teodor Sigaev
cc5b676087 Add comment about permissions on pg_ts* tables 2005-04-19 13:58:11 +00:00
Bruce Momjian
0a2400e964 Update PITR wording, per Simon. 2005-04-19 01:40:02 +00:00
Tom Lane
92645c42c8 pg_dumpall should enforce the server version check for itself, rather
than simply passing it down to pg_dump.  Else, version-related failures
in pg_dumpall itself generate unhelpful error messages.
2005-04-18 23:48:01 +00:00
Tom Lane
1186365c3c record_in and record_recv must be careful to return a separately
pfree'able result, since some callers expect to be able to pfree
the result of a pass-by-reference function.  Per report from Chris Trawick.
2005-04-18 17:11:15 +00:00
Bruce Momjian
fef57bd487 Update PITR mention of which WAL files are needed. 2005-04-18 01:29:08 +00:00
Bruce Momjian
2bf3ab90bd Clarify name of file to be checked for PITR expiring. 2005-04-17 03:05:27 +00:00
Bruce Momjian
96d61bc163 Fix comment typo. 2005-04-15 22:49:45 +00:00
Tom Lane
beb9e2ef34 Revert addition of poorly-thought-out DUMP TIMESTAMP archive entry,
which induced bug #1597 in addition to having several other misbehaviors
(like labeling the dump with a completion time having nothing to do with
reality).  Instead just print out the desired strings where RestoreArchive
was already emitting the 'PostgreSQL database dump' and
'PostgreSQL database dump complete' strings.
2005-04-15 16:40:59 +00:00
Tom Lane
69cb5acf62 Make equalTupleDescs() compare attlen/attbyval/attalign rather than
assuming comparison of atttypid is sufficient.  In a dropped column
atttypid will be 0, and we'd better check the physical-storage data
to make sure the tupdescs are physically compatible.
I do not believe there is a real risk before 8.0, since before that
we only used this routine to compare successive states of the tupdesc
for a particular relation.  But 8.0's typcache.c might be comparing
arbitrary tupdescs so we'd better play it safer.
2005-04-14 22:35:12 +00:00
Tom Lane
59974b0e0a Don't try to constant-fold functions returning RECORD, since the optimizer
isn't presently set up to pass them an expected tuple descriptor.  Bug has
been there since 7.3 but was just recently reported by Thomas Hallgren.
2005-04-14 21:44:22 +00:00
Michael Meskes
c61d1c95ea Added patch by Philip Yarra <philip.yarra@internode.on.net> for a bug in thread support. 2005-04-14 10:09:20 +00:00