summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-07-20As per the following:Bruce Momjian
http://archives.postgresql.org/pgsql-cygwin/2004-07/msg00090.php Jason Tishler
2004-07-20Fix unused variable when Assert() not used.Bruce Momjian
2004-07-20Update:Bruce Momjian
< * Allow psql to display permission information using \df+ and \l+ > * Consistenly display privilege information for all objects in psql
2004-07-20Add:Bruce Momjian
> * Allow psql to display permission information using \df+ and \l+
2004-07-20Suppress readline usage in mingw in configure.Bruce Momjian
2004-07-20Add:Bruce Momjian
> * Fix data types where equality comparison isn't intuitive, e.g. box
2004-07-20Done:Bruce Momjian
> o -Allow parameters to be specified by name and type during definition
2004-07-20Synced parser and keyword list.Michael Meskes
Fixed handling of cyclic defines.
2004-07-19Here is another patch that fixes a stack of pg_dump bugs:Bruce Momjian
* 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
2004-07-19Fix incorrect tracking of session authorization in the presence of ACLsTom Lane
that contain rights granted by non-owners. Per bug report from Nishad Prakash.
2004-07-19Done:Bruce Momjian
> * -Allow configuration files to be specified in a different directory
2004-07-19No CVS FAQ, just CVS docs.Bruce Momjian
2004-07-19*** empty log message ***Bruce Momjian
2004-07-19Install recovery.conf.sample into the /share install directory.Tom Lane
2004-07-19Remove unportable use of strptime() to parse recovery target time spec.Tom Lane
Instead use our own abstimein code, which is more flexible anyway.
2004-07-19XLOG file archiving and point-in-time recovery. There are still someTom Lane
loose ends and a glaring lack of documentation, but it basically works. Simon Riggs with some editorialization by Tom Lane.
2004-07-17Rename AC_PROG_LD* macros to PGAC_PROG_LD*. This avoids clashes with thePeter Eisentraut
macros provided by the real libtool, when other packages borrow some macros from PostgreSQL, as in the case of the ODBC driver.
2004-07-17When renaming a column that participates in a foreign key, we mustTom Lane
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.
2004-07-17Fix broken markup, per Jonathan Gardner.Tom Lane
2004-07-17Add:Bruce Momjian
> o Enforce rules for setting combinations
2004-07-17Invent ResourceOwner mechanism as per my recent proposal, and use it toTom Lane
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.
2004-07-16Here is a patch required to build plperl with win32. The issues were:Bruce Momjian
* 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
2004-07-15Properly order mysql links.Bruce Momjian
2004-07-15Add French FAQ.Bruce Momjian
LELARGE Guillaume
2004-07-15> pg_ctl --helpBruce Momjian
> ---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
2004-07-15For a SQL function declared to return a named composite type, makeTom Lane
sure the tuple datums it returns actually show that type and not RECORD.
2004-07-15Add permission display to \db+.Bruce Momjian
2004-07-14Detect locale/encoding mismatch in initdb, or pick a suitable encodingPeter Eisentraut
automatically if none was specified.
2004-07-13Have \dn+ show permissions and description for schemas.Bruce Momjian
Dennis Bjorklund
2004-07-13Change pg_dump to use ALTER OWNER commands instead of SET SESSIONBruce Momjian
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
2004-07-13Can't have blank lines in resultmap; some versions of expr complain.Tom Lane
2004-07-13Add new join file.Bruce Momjian
2004-07-13Move tablespace name up on to the same line in psql \d.Bruce Momjian
2004-07-13Rename join ordering named join_1.outBruce Momjian
2004-07-13Cause libpq and ecpg libraries to be built as proper shared librariesTom Lane
(.dylib format) on Mac OS X, while not messing up loadable modules for the backend (which are the same kind of animal as a shared library on every other platform, but not here). Also get the naming convention to match OS X practice, viz libFOO.version.so not libFOO.so.version. In support of that last, refactor code in Makefile.shlib to make it easier to have platform-specific shlib naming conventions. This patch is loosely based on the Fink project's current postgresql.patch. Tested by yours truly on OS X 10.3.4; does anyone have 10.2.* to check it on?
2004-07-12Make installation instructions match reality.Peter Eisentraut
2004-07-12Add tablespace location display for psql \d.Bruce Momjian
Gavin Sherry
2004-07-12Add has_tablespace_privilege().Bruce Momjian
Christopher Kings-Lynne
2004-07-12Add Win32-specific join ordering.Bruce Momjian
2004-07-12Add blank line to new canonicalize_path file, which handles "a b\" properly.Bruce Momjian
2004-07-12canonicalization adjustments.Bruce Momjian
2004-07-12Put back canonicalization of PGDATA environment variable.Bruce Momjian
2004-07-12Use strdup in pg_ctl for canonicalize_path on environment variable.Bruce Momjian
Simplify postmaster call too.
2004-07-12This patch adds the following options to pg_dumpall, to be passed toBruce Momjian
pg_dump: -S, --superuser=NAME -O, --no-owner -X disable-dollar-quoting, --disable-dollar-quoting -X disable-triggers, --disable-triggers Christopher Kings-Lynne
2004-07-12The attached patch, which incorporates the previous one sent andBruce Momjian
currently unapplied regarding spi_internal.c, makes some additional fixes relating to return types, and also contains the fix for preventing the use of insecure versions of Safe.pm. There is one remaing return case that does not appear to work, namely return of a composite directly in a select, i.e. if foo returns some composite type, 'select * from foo()' works but 'select foo()' doesn't. We will either fix that or document it as a limitation. The function plperl_func_handler is a mess - I will try to get it cleaned up (and split up) in a subsequent patch, time permitting. Also, reiterating previous advice - this changes slightly the API for spi_exec_query - the returned object has either 2 or 3 members: 'status' (string) and 'proceesed' (int,- number of rows) and, if rows are returned, 'rows' (array of tuple hashes). Andrew Dunstan
2004-07-12> win32 doesn't support a static initializer for mutexes, thus the firstBruce Momjian
> user must initialize the lock. The problem are concurrent "first" users > - the pthread_mutex_t initialization must be synchronized. > The current implementation is broken, the attached patches fixes that: > mutex_initlock is a spinlock. If the pthread_mutex_t mutex is not > initialized, then the spinlock is acquired, if the pthread_mutex_t is > initialized if it's not yet initialized and then the spinlock is dropped. Manfred Spraul
2004-07-12Back out thread fix until I get clarification.Bruce Momjian
2004-07-12win32 doesn't support a static initializer for mutexes, thus the firstBruce Momjian
user must initialize the lock. The problem are concurrent "first" users - the pthread_mutex_t initialization must be synchronized. The current implementation is broken, the attached patches fixes that: mutex_initlock is a spinlock. If the pthread_mutex_t mutex is not initialized, then the spinlock is acquired, if the pthread_mutex_t is initialized if it's not yet initialized and then the spinlock is dropped. Manfred Spraul
2004-07-12Remove TABLESPACE option of CREATE SEQUENCE; sequences will now alwaysTom Lane
live in database or schema's default tablespace, as per today's discussion. Also, remove some unused keywords from the grammar (PATH, PENDANT, VERSION), and fix ALSO, which was added as a keyword but not added to the keyword classification lists, thus making it worse-than-reserved.
2004-07-12New text.Bruce Momjian