OSDN Git Service

pg-rex/syncrep.git
19 years agoError message style adjustments, per Alvaro Herrera.
Tom Lane [Sun, 1 Aug 2004 17:45:43 +0000 (17:45 +0000)]
Error message style adjustments, per Alvaro Herrera.

19 years agoSome mop-up work for savepoints (nested transactions). Store a small
Tom Lane [Sun, 1 Aug 2004 17:32:22 +0000 (17:32 +0000)]
Some mop-up work for savepoints (nested transactions).  Store a small
number of active subtransaction XIDs in each backend's PGPROC entry,
and use this to avoid expensive probes into pg_subtrans during
TransactionIdIsInProgress.  Extend EOXactCallback API to allow add-on
modules to get control at subxact start/end.  (This is deliberately
not compatible with the former API, since any uses of that API probably
need manual review anyway.)  Add basic reference documentation for
SAVEPOINT and related commands.  Minor other cleanups to check off some
of the open issues for subtransactions.
Alvaro Herrera and Tom Lane.

19 years agoSome name cleanup.
Bruce Momjian [Sun, 1 Aug 2004 14:08:08 +0000 (14:08 +0000)]
Some name cleanup.

19 years agoSmall pg_config.c cleanup.
Bruce Momjian [Sun, 1 Aug 2004 14:01:36 +0000 (14:01 +0000)]
Small pg_config.c cleanup.

19 years agoFix :
Bruce Momjian [Sun, 1 Aug 2004 13:55:12 +0000 (13:55 +0000)]
Fix :

< * Magnus is Magnus Haglander (?)
> * Magnus is Magnus Hagander <mha@sollentuna.net>

19 years agoAdd missing file.
Bruce Momjian [Sun, 1 Aug 2004 13:54:05 +0000 (13:54 +0000)]
Add missing file.

19 years agoCreate a C version of pg_config.
Bruce Momjian [Sun, 1 Aug 2004 06:56:39 +0000 (06:56 +0000)]
Create a C version of pg_config.

Andrew Dunstan

19 years agoMinor adjustments for dirmod.c.
Bruce Momjian [Sun, 1 Aug 2004 06:22:38 +0000 (06:22 +0000)]
Minor adjustments for dirmod.c.

19 years agoAdd docs for initdb --auth.
Bruce Momjian [Sun, 1 Aug 2004 06:19:26 +0000 (06:19 +0000)]
Add docs for initdb --auth.

19 years ago>I got a new idea on this. I think we should add an initdb option that
Bruce Momjian [Sun, 1 Aug 2004 05:59:13 +0000 (05:59 +0000)]
>I got a new idea on this.  I think we should add an initdb option that
>takes a string to specify the local authentication method:
>
>       initdb --auth 'ident'
>
>or whatever the user wants.  I think this is more flexible and more
>compact.  It would default to 'trust', and the packagers could
>set it to
>whatever they want.  If their OS supports local ident, they can use
>that.
>
>Also keep in mind you might want some ident map file:
>
>       initdb --auth 'ident mymap'
>
>so you would need to allow multiple words in the string.

Magnus Hagander

19 years agoMinor release wording improvments.
Bruce Momjian [Sun, 1 Aug 2004 05:22:26 +0000 (05:22 +0000)]
Minor release wording improvments.

19 years agoAdd descriptions to TODO items and make adjustments based on 7.5.
Bruce Momjian [Sun, 1 Aug 2004 05:15:58 +0000 (05:15 +0000)]
Add descriptions to TODO items and make adjustments based on 7.5.

19 years agoRemove pool discussion. All old stuff.
Bruce Momjian [Sun, 1 Aug 2004 04:53:38 +0000 (04:53 +0000)]
Remove pool discussion. All old stuff.

19 years agoSupport "OR condition ..." in plpgsql EXCEPTION clauses to make the syntax
Tom Lane [Sat, 31 Jul 2004 23:04:58 +0000 (23:04 +0000)]
Support "OR condition ..." in plpgsql EXCEPTION clauses to make the syntax
more nearly Oracle-equivalent.  Allow matching by category as well as
specific error code.  Document the set of available condition names
(or more accurately, synchronize it with the existing documentation).  In
passing, update errcodes.sgml to include codes added during 7.5 development.

19 years agoBe more consistent about reporting SPI errors in the various PLs.
Tom Lane [Sat, 31 Jul 2004 20:55:45 +0000 (20:55 +0000)]
Be more consistent about reporting SPI errors in the various PLs.
Create a shared function to convert a SPI error code into a string
(replacing near-duplicate code in several PLs), and use it anywhere
that a SPI function call error is reported.

19 years agoEscape backslashes from translation message rather than removing them.
Bruce Momjian [Sat, 31 Jul 2004 20:00:26 +0000 (20:00 +0000)]
Escape backslashes from translation message rather than removing them.

19 years agoStill another try at matching system timezone nicely. On non-Windows
Tom Lane [Sat, 31 Jul 2004 19:12:15 +0000 (19:12 +0000)]
Still another try at matching system timezone nicely.  On non-Windows
machines, break tie scores by preferring shorter zone names over longer;
for names of equal length, prefer the alphabetically first name.  This
yields for example 'EST5EDT' not 'America/New_York' for US eastern time.
On Windows, abandon the whole concept of inspecting the detailed behavior
of the system TZ library, because it doesn't bear inspection :-(.  Instead
use a hardwired mapping table to select our zone name based on the
result of strftime %Z output.  Windows code from Magnus Hagander.

19 years agoFor EXEC_BACKEND case, BootstrapMain needs to recompute paths, same as
Tom Lane [Sat, 31 Jul 2004 17:57:11 +0000 (17:57 +0000)]
For EXEC_BACKEND case, BootstrapMain needs to recompute paths, same as
PostgresMain.  Per Magnus Hagander.

19 years agoRemove obsolete files
Peter Eisentraut [Sat, 31 Jul 2004 16:35:17 +0000 (16:35 +0000)]
Remove obsolete files

19 years agoTranslation update
Peter Eisentraut [Sat, 31 Jul 2004 07:57:41 +0000 (07:57 +0000)]
Translation update

19 years agoplpgsql does exceptions.
Tom Lane [Sat, 31 Jul 2004 07:39:21 +0000 (07:39 +0000)]
plpgsql does exceptions.
There are still some things that need refinement; in particular I fear
that the recognized set of error condition names probably has little in
common with what Oracle recognizes.  But it's a start.

19 years agoFix broken markup, release date.
Tom Lane [Sat, 31 Jul 2004 07:11:07 +0000 (07:11 +0000)]
Fix broken markup, release date.

19 years ago>OK, if you look at the last few commits to interfaces/libpq/win32.mak,
Bruce Momjian [Sat, 31 Jul 2004 06:19:23 +0000 (06:19 +0000)]
>OK, if you look at the last few commits to interfaces/libpq/win32.mak,
>you will see changes for pg_config_paths.h and for thread safety.  Can
>you look at those changes, merge them into bcc.mak.  There might be
>other changes in there you want to add to bcc.mak too.
>
>
>
OK, having no M$ diff, I attach files src\interfaces\libpq\bcc32.mak and
src\interfaces\libpq\win32.h

Steve Holdoway

19 years agoAdd:
Bruce Momjian [Sat, 31 Jul 2004 06:13:52 +0000 (06:13 +0000)]
Add:

> * Allow point-in-time recovery to archive partially filled logs

19 years agoFix zh_TW.po initdb translation.
Bruce Momjian [Sat, 31 Jul 2004 04:41:54 +0000 (04:41 +0000)]
Fix zh_TW.po initdb translation.

19 years agoRemove mention that we can't trap function errors.
Bruce Momjian [Sat, 31 Jul 2004 04:22:46 +0000 (04:22 +0000)]
Remove mention that we can't trap function errors.

19 years agoRestructure error handling as recently discussed. It is now really
Tom Lane [Sat, 31 Jul 2004 00:45:57 +0000 (00:45 +0000)]
Restructure error handling as recently discussed.  It is now really
possible to trap an error inside a function rather than letting it
propagate out to PostgresMain.  You still have to use AbortCurrentTransaction
to clean up, but at least the error handling itself will cooperate.

19 years agoMust guard against NULL return from localtime() when probing pre-1970
Tom Lane [Fri, 30 Jul 2004 17:31:24 +0000 (17:31 +0000)]
Must guard against NULL return from localtime() when probing pre-1970
dates.  Per Magnus Hagander.

19 years agoFix number for FAQ item.
Bruce Momjian [Fri, 30 Jul 2004 16:51:59 +0000 (16:51 +0000)]
Fix number for FAQ item.

19 years agoPostgreSQL extension makefile framework ("pgxs"), by Fabien Coelho, with
Peter Eisentraut [Fri, 30 Jul 2004 12:26:40 +0000 (12:26 +0000)]
PostgreSQL extension makefile framework ("pgxs"), by Fabien Coelho, with
some massaging by Peter Eisentraut.  This is basically a simple
generalization of the existing contrib makefiles.

19 years agoTranslation updates
Peter Eisentraut [Fri, 30 Jul 2004 05:28:53 +0000 (05:28 +0000)]
Translation updates

19 years agoAdd:
Bruce Momjian [Thu, 29 Jul 2004 16:47:07 +0000 (16:47 +0000)]
Add:

> * Allow administrators to safely terminate individual sessions

19 years agoUpdate Turkish FAQ.
Bruce Momjian [Thu, 29 Jul 2004 16:30:32 +0000 (16:30 +0000)]
Update Turkish FAQ.

Devrim GUNDUZ

19 years agoAdd:
Bruce Momjian [Thu, 29 Jul 2004 16:24:02 +0000 (16:24 +0000)]
Add:

> * Allow server logs to be read using SQL commands
> * Allow server configuration parameters to be modified remotetly

19 years agoFix for pg_ctl -o processing. Report from Sean Chittenden.
Bruce Momjian [Thu, 29 Jul 2004 16:11:11 +0000 (16:11 +0000)]
Fix for pg_ctl -o processing.  Report from  Sean Chittenden.

19 years agoTranslation update
Peter Eisentraut [Thu, 29 Jul 2004 14:54:09 +0000 (14:54 +0000)]
Translation update

19 years agoRevert ill-conceived patch that made elog(FATAL) the same as elog(ERROR)
Tom Lane [Wed, 28 Jul 2004 22:05:47 +0000 (22:05 +0000)]
Revert ill-conceived patch that made elog(FATAL) the same as elog(ERROR)
followed by seeing EOF from client.  If we want a safe session-kill
capability we will need to write one, not break our error handling
mechanism.

19 years agoUpdate release notes with better wording.
Bruce Momjian [Wed, 28 Jul 2004 14:28:57 +0000 (14:28 +0000)]
Update release notes with better wording.

Brian B.

19 years agoFix subtransaction behavior for large objects, temp namespace, files,
Tom Lane [Wed, 28 Jul 2004 14:23:31 +0000 (14:23 +0000)]
Fix subtransaction behavior for large objects, temp namespace, files,
password/group files.  Also allow read-only subtransactions of a read-write
parent, but not vice versa.  These are the reasonably noncontroversial
parts of Alvaro's recent mop-up patch, plus further work on large objects
to minimize use of the TopTransactionResourceOwner.

19 years agoReplace nested-BEGIN syntax for subtransactions with spec-compliant
Tom Lane [Tue, 27 Jul 2004 05:11:48 +0000 (05:11 +0000)]
Replace nested-BEGIN syntax for subtransactions with spec-compliant
SAVEPOINT/RELEASE/ROLLBACK-TO syntax.  (Alvaro)
Cause COMMIT of a failed transaction to report ROLLBACK instead of
COMMIT in its command tag.  (Tom)
Fix a few loose ends in the nested-transactions stuff.

19 years agoUpdate tuple header size.
Bruce Momjian [Tue, 27 Jul 2004 03:27:48 +0000 (03:27 +0000)]
Update tuple header size.

19 years agoFix oversight: in case where SIGTERM is received while there are
Tom Lane [Tue, 27 Jul 2004 01:46:03 +0000 (01:46 +0000)]
Fix oversight: in case where SIGTERM is received while there are
live backends, the archiver and stats processes never got sent a
kill signal.  They'd eventually exit on their own, but not for awhile,
which is a bit annoying when you are trying to replace the executable
file on a platform that doesn't allow removal of busy executables.
Also, tweak main loop logic so that we will perform the background
tasks after select() returns EINTR.

19 years agoAdd some more logging to simplify diagnosis of problems in IDENT
Tom Lane [Mon, 26 Jul 2004 18:53:38 +0000 (18:53 +0000)]
Add some more logging to simplify diagnosis of problems in IDENT
authorization.  Inspired by problem report from Ian Pilcher.

19 years agoSQL defines are only used in SQL space in Informix mode.
Michael Meskes [Mon, 26 Jul 2004 10:28:28 +0000 (10:28 +0000)]
SQL defines are only used in SQL space in Informix mode.

19 years agoHere is a patch that fixes the pipes used in find_other_exec() when
Bruce Momjian [Mon, 26 Jul 2004 01:48:00 +0000 (01:48 +0000)]
Here is a patch that fixes the pipes used in find_other_exec() when
running as a service on windows <= 2000. Required to make the pg_ctl
service wrapper to work at all.

Magnus Hagander

19 years agoAdjust release notes based on community feedback.
Bruce Momjian [Mon, 26 Jul 2004 00:26:42 +0000 (00:26 +0000)]
Adjust release notes based on community feedback.

19 years agoTranslation updates
Peter Eisentraut [Sun, 25 Jul 2004 12:00:07 +0000 (12:00 +0000)]
Translation updates

19 years agoUpdate 7.5 release notes.
Bruce Momjian [Sun, 25 Jul 2004 04:18:05 +0000 (04:18 +0000)]
Update 7.5 release notes.

19 years agoImprove description of release note creation.
Bruce Momjian [Sun, 25 Jul 2004 03:30:31 +0000 (03:30 +0000)]
Improve description of release note creation.

19 years agoFix obsolete comment.
Tom Lane [Sat, 24 Jul 2004 20:01:42 +0000 (20:01 +0000)]
Fix obsolete comment.

19 years agolog_destination should only be PGC_SIGHUP, not PGC_POSTMASTER, as per
Tom Lane [Sat, 24 Jul 2004 19:51:23 +0000 (19:51 +0000)]
log_destination should only be PGC_SIGHUP, not PGC_POSTMASTER, as per
discussion yesterday.  Also a few improvements in the associated
documentation.

19 years agoFirst draft of 7.5 release notes. Still needs markup, additional major
Bruce Momjian [Sat, 24 Jul 2004 09:36:53 +0000 (09:36 +0000)]
First draft of 7.5 release notes.  Still needs markup, additional major
items, and detailed text descriptions.

19 years agoAdd steps for creating release notes.
Bruce Momjian [Sat, 24 Jul 2004 03:06:47 +0000 (03:06 +0000)]
Add steps for creating release notes.

19 years agoMove Win32 defines from port.h to win32.h.
Bruce Momjian [Fri, 23 Jul 2004 01:58:36 +0000 (01:58 +0000)]
Move Win32 defines from port.h to win32.h.

19 years agoAdd cross-check that current timeline of pg_control is an ancestor of
Tom Lane [Thu, 22 Jul 2004 21:09:37 +0000 (21:09 +0000)]
Add cross-check that current timeline of pg_control is an ancestor of
recovery_target_timeline --- otherwise there is no path from the backup
to the requested timeline.  This check was foreseen in the original
discussion but I forgot to implement it.

19 years agoAdd a check on file size as an additional safety check that a WAL file
Tom Lane [Thu, 22 Jul 2004 20:18:40 +0000 (20:18 +0000)]
Add a check on file size as an additional safety check that a WAL file
recovered from archive is not corrupt.  It's not much but it will catch
one common problem, viz out-of-disk-space.
Also, force a WAL recovery scan when recovery.conf is present, even if
pg_control shows a clean shutdown.  This allows recovery with a tar backup
that was taken with the postmaster shut down, as per complaint from
Mark Kirkwood.

20 years agoUpdated wording:
Bruce Momjian [Thu, 22 Jul 2004 12:24:13 +0000 (12:24 +0000)]
Updated wording:

> * Have psql show current values for a sequence

20 years agoDone:
Bruce Momjian [Thu, 22 Jul 2004 11:49:19 +0000 (11:49 +0000)]
Done:

> * -Have psql show more information about sequences

20 years agoStill another try at automatically detecting the best match in the zic
Tom Lane [Thu, 22 Jul 2004 05:28:30 +0000 (05:28 +0000)]
Still another try at automatically detecting the best match in the zic
timezone database for the system behavior we find ourselves in.  Scan
backwards from current time and choose the zone that matches furthest
back.  As per discussion a week or so back.

20 years agoAvoid default: followed by no statement, per Dann Corbit.
Tom Lane [Thu, 22 Jul 2004 01:44:36 +0000 (01:44 +0000)]
Avoid default: followed by no statement, per Dann Corbit.

20 years agoAdd missing <getopt.h>, per Dann Corbit.
Tom Lane [Thu, 22 Jul 2004 01:41:24 +0000 (01:41 +0000)]
Add missing <getopt.h>, per Dann Corbit.

20 years agoInvent WAL timelines, as per recent discussion, to make point-in-time
Tom Lane [Wed, 21 Jul 2004 22:31:26 +0000 (22:31 +0000)]
Invent WAL timelines, as per recent discussion, to make point-in-time
recovery more manageable.  Also, undo recent change to add FILE_HEADER
and WASTED_SPACE records to XLOG; instead make the XLOG page header
variable-size with extra fields in the first page of an XLOG file.
This should fix the boundary-case bugs observed by Mark Kirkwood.
initdb forced due to change of XLOG representation.

20 years agoThe attached patch allows 'select foo()' as well as 'select * from
Bruce Momjian [Wed, 21 Jul 2004 20:45:54 +0000 (20:45 +0000)]
The attached patch allows 'select foo()' as well as 'select * from
foo()' where foo() is a plperl function that returns a single composite.

Andrew Dunstan

20 years agoPlease find enclosed a patch that matches the PL/Perl documentation
Bruce Momjian [Wed, 21 Jul 2004 20:44:52 +0000 (20:44 +0000)]
Please find enclosed a patch that matches the PL/Perl documentation
(fairly closely, I hope) to the current PL/Perl implementation.

David Fetter

20 years agoThe attached patch shows the new column "tablespace" in the mentioned
Bruce Momjian [Wed, 21 Jul 2004 20:43:53 +0000 (20:43 +0000)]
The attached patch shows the new column "tablespace" in the mentioned
views.

Klaus Naumann

20 years agoBack out pg_autovacuum commit after cvs clean failure causes commit.
Bruce Momjian [Wed, 21 Jul 2004 20:34:50 +0000 (20:34 +0000)]
Back out pg_autovacuum commit after cvs clean failure causes commit.

20 years agolease find enclosed a patch that matches the PL/Perl documentation
Bruce Momjian [Wed, 21 Jul 2004 20:23:05 +0000 (20:23 +0000)]
lease find enclosed a patch that matches the PL/Perl documentation
(fairly closely, I hope) to the current PL/Perl implementation.

David Fetter

20 years agoMention plpgsql:
Bruce Momjian [Wed, 21 Jul 2004 13:46:44 +0000 (13:46 +0000)]
Mention plpgsql:

<  o -Allow parameters to be specified by name and type during definition
>  o -Allow PL/pgSQL parameters to be specified by name and type during definition

20 years agoAllow borland compiles.
Bruce Momjian [Wed, 21 Jul 2004 03:07:40 +0000 (03:07 +0000)]
Allow borland compiles.

20 years agoAs per the following:
Bruce Momjian [Tue, 20 Jul 2004 22:56:40 +0000 (22:56 +0000)]
As per the following:

    http://archives.postgresql.org/pgsql-cygwin/2004-07/msg00090.php

Jason Tishler

20 years agoFix unused variable when Assert() not used.
Bruce Momjian [Tue, 20 Jul 2004 22:56:29 +0000 (22:56 +0000)]
Fix unused variable when Assert() not used.

20 years agoUpdate:
Bruce Momjian [Tue, 20 Jul 2004 22:28:16 +0000 (22:28 +0000)]
Update:

< * Allow psql to display permission information using \df+ and \l+
> * Consistenly display privilege information for all objects in psql

20 years agoAdd:
Bruce Momjian [Tue, 20 Jul 2004 21:01:22 +0000 (21:01 +0000)]
Add:

> * Allow psql to display permission information using \df+ and \l+

20 years agoSuppress readline usage in mingw in configure.
Bruce Momjian [Tue, 20 Jul 2004 20:37:13 +0000 (20:37 +0000)]
Suppress readline usage in mingw in configure.

20 years agoAdd:
Bruce Momjian [Tue, 20 Jul 2004 19:52:03 +0000 (19:52 +0000)]
Add:

> * Fix data types where equality comparison isn't intuitive, e.g. box

20 years agoDone:
Bruce Momjian [Tue, 20 Jul 2004 19:37:36 +0000 (19:37 +0000)]
Done:

>  o -Allow parameters to be specified by name and type during definition

20 years agoSynced parser and keyword list.
Michael Meskes [Tue, 20 Jul 2004 18:06:41 +0000 (18:06 +0000)]
Synced parser and keyword list.
Fixed handling of cyclic defines.

20 years agoHere is another patch that fixes a stack of pg_dump bugs:
Bruce Momjian [Mon, 19 Jul 2004 21:39:48 +0000 (21:39 +0000)]
Here is another patch that fixes a stack of pg_dump bugs:

* Fix help text ordering

* Add back --set-session-authorization to pg_dumpall.  Updated the docs
for that.  Updated help for that.

* Dump ALTER USER commands for the cluster owner ("pgsql").  These are
dumped AFTER the create user and create database commands in case the
permissions to do these have been revoked.

* Dump ALTER OWNER for public schema (because it's possible to change
it).  This was done by adding TOC entries for the public schema, and
filtering them out at archiver time.  I also save the owner in the TOC
entry just for the public schema.

* Suppress dumping single quotes around schema_path and DateStyle
options when they are set using ALTER USER or ALTER DATABASE.  Added a
comment to the steps in guc.c to remind people to update that list.

* Fix dumping in --clean mode against a pre-7.3 server.  It just sets
all drop statements to assume the public schema, allowing it to restore
without error.

* Cleaned up text output.  eg. Don't output -- Tablespaces comment if
there are none.  Same for groups and users.

* Make the commands to DELETE FROM pg_shadow and DELETE FROM pg_group
only be output when -c mode is enabled.  I'm not sure why that hasn't
been done before?!?!

This should be good for application asap, after which I will start on
regression dumping 7.0-7.4 databases.

Christopher Kings-Lynne

20 years agoFix incorrect tracking of session authorization in the presence of ACLs
Tom Lane [Mon, 19 Jul 2004 21:02:17 +0000 (21:02 +0000)]
Fix incorrect tracking of session authorization in the presence of ACLs
that contain rights granted by non-owners.  Per bug report from
Nishad Prakash.

20 years agoDone:
Bruce Momjian [Mon, 19 Jul 2004 20:57:30 +0000 (20:57 +0000)]
Done:

> * -Allow configuration files to be specified in a different directory

20 years agoNo CVS FAQ, just CVS docs.
Bruce Momjian [Mon, 19 Jul 2004 20:30:16 +0000 (20:30 +0000)]
No CVS FAQ, just CVS docs.

20 years ago*** empty log message ***
Bruce Momjian [Mon, 19 Jul 2004 20:28:43 +0000 (20:28 +0000)]
*** empty log message ***

20 years agoInstall recovery.conf.sample into the /share install directory.
Tom Lane [Mon, 19 Jul 2004 17:03:56 +0000 (17:03 +0000)]
Install recovery.conf.sample into the /share install directory.

20 years agoRemove unportable use of strptime() to parse recovery target time spec.
Tom Lane [Mon, 19 Jul 2004 14:34:39 +0000 (14:34 +0000)]
Remove unportable use of strptime() to parse recovery target time spec.
Instead use our own abstimein code, which is more flexible anyway.

20 years agoXLOG file archiving and point-in-time recovery. There are still some
Tom Lane [Mon, 19 Jul 2004 02:47:16 +0000 (02:47 +0000)]
XLOG file archiving and point-in-time recovery.  There are still some
loose ends and a glaring lack of documentation, but it basically works.

Simon Riggs with some editorialization by Tom Lane.

20 years agoRename AC_PROG_LD* macros to PGAC_PROG_LD*. This avoids clashes with the
Peter Eisentraut [Sat, 17 Jul 2004 18:53:56 +0000 (18:53 +0000)]
Rename AC_PROG_LD* macros to PGAC_PROG_LD*.  This avoids clashes with the
macros provided by the real libtool, when other packages borrow some macros
from PostgreSQL, as in the case of the ODBC driver.

20 years agoWhen renaming a column that participates in a foreign key, we must
Tom Lane [Sat, 17 Jul 2004 17:28:29 +0000 (17:28 +0000)]
When renaming a column that participates in a foreign key, we must
force relcache rebuild for the other table as well as the column's
own table.  Otherwise, already-cached foreign key triggers will stop
working.  Per example from Alexander Pravking.

20 years agoFix broken markup, per Jonathan Gardner.
Tom Lane [Sat, 17 Jul 2004 16:33:31 +0000 (16:33 +0000)]
Fix broken markup, per Jonathan Gardner.

20 years agoAdd:
Bruce Momjian [Sat, 17 Jul 2004 10:50:05 +0000 (10:50 +0000)]
Add:

>  o Enforce rules for setting combinations

20 years agoInvent ResourceOwner mechanism as per my recent proposal, and use it to
Tom Lane [Sat, 17 Jul 2004 03:32:14 +0000 (03:32 +0000)]
Invent ResourceOwner mechanism as per my recent proposal, and use it to
keep track of portal-related resources separately from transaction-related
resources.  This allows cursors to work in a somewhat sane fashion with
nested transactions.  For now, cursor behavior is non-subtransactional,
that is a cursor's state does not roll back if you abort a subtransaction
that fetched from the cursor.  We might want to change that later.

20 years agoHere is a patch required to build plperl with win32. The issues were:
Bruce Momjian [Fri, 16 Jul 2004 19:18:24 +0000 (19:18 +0000)]
Here is a patch required to build plperl with win32. The issues were:

* perl_useshrplib gets set to "yes" and not to "true". I assume it's set
to "true" on unix, so I left both.
* Need to translate backslashes into slashes
* The linker config coming out of perl was for MSVC and not for mingw

Magnus Hagander

20 years agoProperly order mysql links.
Bruce Momjian [Thu, 15 Jul 2004 18:53:44 +0000 (18:53 +0000)]
Properly order mysql links.

20 years agoAdd French FAQ.
Bruce Momjian [Thu, 15 Jul 2004 15:25:25 +0000 (15:25 +0000)]
Add French FAQ.

LELARGE Guillaume

20 years ago> pg_ctl --help
Bruce Momjian [Thu, 15 Jul 2004 15:23:32 +0000 (15:23 +0000)]
> pg_ctl --help
>  ---skiped---
>   -P       user name of account to register PostgreSQL server
>   -U       password  of account to register PostgreSQL server
> ---skiped---
>
> I think that isn't right ;)

Claudio Natoli

20 years agoFor a SQL function declared to return a named composite type, make
Tom Lane [Thu, 15 Jul 2004 13:51:38 +0000 (13:51 +0000)]
For a SQL function declared to return a named composite type, make
sure the tuple datums it returns actually show that type and not RECORD.

20 years agoAdd permission display to \db+.
Bruce Momjian [Thu, 15 Jul 2004 03:56:06 +0000 (03:56 +0000)]
Add permission display to \db+.

20 years agoDetect locale/encoding mismatch in initdb, or pick a suitable encoding
Peter Eisentraut [Wed, 14 Jul 2004 17:55:10 +0000 (17:55 +0000)]
Detect locale/encoding mismatch in initdb, or pick a suitable encoding
automatically if none was specified.

20 years agoHave \dn+ show permissions and description for schemas.
Bruce Momjian [Tue, 13 Jul 2004 16:48:16 +0000 (16:48 +0000)]
Have \dn+ show permissions and description for schemas.

Dennis Bjorklund

20 years agoChange pg_dump to use ALTER OWNER commands instead of SET SESSION
Bruce Momjian [Tue, 13 Jul 2004 03:00:17 +0000 (03:00 +0000)]
Change pg_dump to use ALTER OWNER commands instead of SET SESSION
AUTHORIZATION commands by default.  Move all GRANT and REVOKE commands
to the end of the dump to avoid restore failures in several situations.
Bring back --use-set-session-authorization option to get previous SET
behaviour

Christopher Kings-Lyne

20 years agoCan't have blank lines in resultmap; some versions of expr complain.
Tom Lane [Tue, 13 Jul 2004 02:55:25 +0000 (02:55 +0000)]
Can't have blank lines in resultmap; some versions of expr complain.