]> granicus.if.org Git - postgresql/log
postgresql
22 years agoModify COPY TO to emit carriage returns and newlines as backslash escapes
Tom Lane [Tue, 12 Feb 2002 21:25:41 +0000 (21:25 +0000)]
Modify COPY TO to emit carriage returns and newlines as backslash escapes
(backslash-r, backslash-n) for protection against newline-conversion
munging.  In future we will also tweak COPY FROM, but this part of the
change should be backwards-compatible.  Per pghackers discussion.
Also, update COPY reference page to describe the backslash conversions
more completely and accurately.

22 years agoUpdate FAQ.
Bruce Momjian [Tue, 12 Feb 2002 17:18:10 +0000 (17:18 +0000)]
Update FAQ.

22 years agoUpdate FAQ.
Bruce Momjian [Tue, 12 Feb 2002 17:14:55 +0000 (17:14 +0000)]
Update FAQ.

22 years agoUpdate wal files computation documentation.
Bruce Momjian [Mon, 11 Feb 2002 23:25:14 +0000 (23:25 +0000)]
Update wal files computation documentation.

22 years agoTweak GiST code to work correctly on machines where 8-byte alignment
Tom Lane [Mon, 11 Feb 2002 22:41:59 +0000 (22:41 +0000)]
Tweak GiST code to work correctly on machines where 8-byte alignment
of pointers is required.  Patch from Teodor Sigaev per pghackers
discussion.  It's an ugly kluge but avoids forcing initdb; we'll put
a better fix into 7.3 or later.

22 years agoFix for old FreeBSD versions that don't have RTLD_GLOBAL
Peter Eisentraut [Mon, 11 Feb 2002 21:38:11 +0000 (21:38 +0000)]
Fix for old FreeBSD versions that don't have RTLD_GLOBAL

22 years agoRepair problems with EvalPlanQual where target table is scanned as
Tom Lane [Mon, 11 Feb 2002 20:10:50 +0000 (20:10 +0000)]
Repair problems with EvalPlanQual where target table is scanned as
inner indexscan (ie, one with runtime keys).  ExecIndexReScan must
compute or recompute runtime keys even if we are rescanning in the
EPQ case.  TidScan seems to have comparable problems.  Per bug
noted by Barry Lind 11-Feb-02.

22 years agoFix typo.
Bruce Momjian [Mon, 11 Feb 2002 18:14:56 +0000 (18:14 +0000)]
Fix typo.

<  o prevent lose of indexes, permissions, inheritance (Bruce)
---
>  o prevent loss of indexes, permissions, inheritance (Bruce)

22 years agoFix flag handling of pg_upgrade.
Bruce Momjian [Mon, 11 Feb 2002 15:19:33 +0000 (15:19 +0000)]
Fix flag handling of pg_upgrade.

22 years agoBe more wary about mixed-case database names and user names. Get
Tom Lane [Mon, 11 Feb 2002 00:18:20 +0000 (00:18 +0000)]
Be more wary about mixed-case database names and user names.  Get
the CREATE DATABASE command right in pg_dump -C case.

22 years agopg_dump and pg_restore man pages need to mention that one should restore
Tom Lane [Mon, 11 Feb 2002 00:14:10 +0000 (00:14 +0000)]
pg_dump and pg_restore man pages need to mention that one should restore
into a virgin database, ie, one created from template0, if there are any
site-local additions in template1.

22 years agoDon't Assert() that fsync() and close() never fail; I have seen this
Tom Lane [Sun, 10 Feb 2002 22:56:31 +0000 (22:56 +0000)]
Don't Assert() that fsync() and close() never fail; I have seen this
crash on Solaris when over disk quota.  Instead, report such failures
via elog(DEBUG).

22 years agoMove sys/types.h to top, for hiroyuki hanai/ FreeBSD.
Bruce Momjian [Fri, 8 Feb 2002 16:30:11 +0000 (16:30 +0000)]
Move sys/types.h to top, for hiroyuki hanai/ FreeBSD.

22 years agoUpgrade my2pg version 1.23.
Bruce Momjian [Fri, 8 Feb 2002 14:47:56 +0000 (14:47 +0000)]
Upgrade my2pg version 1.23.

22 years agoOops, already completed:
Bruce Momjian [Fri, 8 Feb 2002 06:41:30 +0000 (06:41 +0000)]
Oops, already completed:

< * Have checkpoint process identify itself via ps status display

22 years agoAdded:
Bruce Momjian [Fri, 8 Feb 2002 04:32:17 +0000 (04:32 +0000)]
Added:

> * Have checkpoint process identify itself via ps status display

22 years agopgstat's truncation of query string needs to be multibyte-aware.
Tom Lane [Thu, 7 Feb 2002 22:20:26 +0000 (22:20 +0000)]
pgstat's truncation of query string needs to be multibyte-aware.
Patch from sugita@sra.co.jp.

22 years agoRepair some problems in GIST-index contrib modules. Patch from
Tom Lane [Thu, 7 Feb 2002 22:11:43 +0000 (22:11 +0000)]
Repair some problems in GIST-index contrib modules.  Patch from
Teodor Sigaev <teodor@stack.net>.

22 years agoRemoved a check for REINDEX TABLE.
Hiroshi Inoue [Thu, 7 Feb 2002 00:27:30 +0000 (00:27 +0000)]
Removed a check for REINDEX TABLE.

22 years agoFix for parallel make
Peter Eisentraut [Wed, 6 Feb 2002 20:29:35 +0000 (20:29 +0000)]
Fix for parallel make

22 years agoFix failure to reconnect as sequence's owner before issuing setval().
Tom Lane [Wed, 6 Feb 2002 17:27:50 +0000 (17:27 +0000)]
Fix failure to reconnect as sequence's owner before issuing setval().

22 years agoUpdate for Tom:
Bruce Momjian [Mon, 4 Feb 2002 20:51:22 +0000 (20:51 +0000)]
Update for Tom:

< * Allow row re-use with automatic vacuum (Tom)
356c355
<
---
> * Provide automatic scheduling of background vacuum (Tom)

22 years agoModified/Added
Bruce Momjian [Mon, 4 Feb 2002 20:46:36 +0000 (20:46 +0000)]
Modified/Added

< * Allow row re-use without vacuum (Tom)
---
> * Allow row re-use with automatic vacuum (Tom)

> * Flush cached query plans when their underlying catalog data changes

22 years agoStamp configure/configure.in for 7.2, already did register.txt and REL7_2
Bruce Momjian [Sun, 3 Feb 2002 21:04:12 +0000 (21:04 +0000)]
Stamp configure/configure.in for 7.2, already did register.txt and
bug.template.

22 years agoStamp 7.2 for release.
Bruce Momjian [Sun, 3 Feb 2002 21:00:09 +0000 (21:00 +0000)]
Stamp 7.2 for release.

22 years agoRemove ENHANCEMENTS section, move subsections up.
Bruce Momjian [Sun, 3 Feb 2002 19:24:30 +0000 (19:24 +0000)]
Remove ENHANCEMENTS section, move subsections up.

22 years agoUpdate FAQ.
Bruce Momjian [Sat, 2 Feb 2002 21:46:45 +0000 (21:46 +0000)]
Update FAQ.

22 years agoUpdate FAQ.
Bruce Momjian [Sat, 2 Feb 2002 20:34:33 +0000 (20:34 +0000)]
Update FAQ.

22 years agoUpdate for 7.2:
Bruce Momjian [Sat, 2 Feb 2002 20:34:16 +0000 (20:34 +0000)]
Update for 7.2:

This fixes references to 7.1.3 (I think).  It also
modifies the japanese
FAQ, so I'm not sure if that's done correctly.

Chris

22 years agoUpdate FAQ_DEV.
Bruce Momjian [Fri, 1 Feb 2002 20:28:32 +0000 (20:28 +0000)]
Update FAQ_DEV.

22 years agoLast Minute AIX_FAQ patch with small corrections for current version,
Bruce Momjian [Fri, 1 Feb 2002 18:23:24 +0000 (18:23 +0000)]
Last Minute AIX_FAQ patch with small corrections for current version,
please apply.

Andreas

22 years agoAdded:
Bruce Momjian [Fri, 1 Feb 2002 17:00:17 +0000 (17:00 +0000)]
Added:

> * Prevent SIGHUP and 'pg_ctl reload' from changing command line
>   specified parameters to postgresql.conf defaults

22 years agoConsistend spelling for PL/pgSQL
Bruce Momjian [Thu, 31 Jan 2002 21:20:03 +0000 (21:20 +0000)]
Consistend spelling for PL/pgSQL

22 years agoAdd mention of recovery using pg_upgrade.
Bruce Momjian [Thu, 31 Jan 2002 19:13:53 +0000 (19:13 +0000)]
Add mention of recovery using pg_upgrade.

22 years agoUpdate HISTORY/release.sgml for Monday release.
Bruce Momjian [Thu, 31 Jan 2002 18:31:44 +0000 (18:31 +0000)]
Update HISTORY/release.sgml for Monday release.

22 years agoUniformize spelling
Peter Eisentraut [Thu, 31 Jan 2002 00:51:32 +0000 (00:51 +0000)]
Uniformize spelling

22 years agoRebuild from source.
Peter Eisentraut [Thu, 31 Jan 2002 00:46:26 +0000 (00:46 +0000)]
Rebuild from source.

22 years agoUpdate Win32-world version number of libpq++.
Peter Eisentraut [Wed, 30 Jan 2002 21:59:33 +0000 (21:59 +0000)]
Update Win32-world version number of libpq++.

22 years agoDon't put empty paragraphs around tables. This messed up JadeTeX somehow,
Peter Eisentraut [Wed, 30 Jan 2002 21:55:33 +0000 (21:55 +0000)]
Don't put empty paragraphs around tables.  This messed up JadeTeX somehow,
and doesn't make sense strictly speaking.

22 years agoRemove Jade/TeX hack, now that OpenJade 1.3.1 has it fixed.
Peter Eisentraut [Wed, 30 Jan 2002 21:54:17 +0000 (21:54 +0000)]
Remove Jade/TeX hack, now that OpenJade 1.3.1 has it fixed.

22 years agoFix copy-and-paste bug in print style.
Peter Eisentraut [Wed, 30 Jan 2002 21:53:40 +0000 (21:53 +0000)]
Fix copy-and-paste bug in print style.

22 years agoAdd cast to suppress gcc warning on Darwin platform.
Tom Lane [Wed, 30 Jan 2002 19:34:55 +0000 (19:34 +0000)]
Add cast to suppress gcc warning on Darwin platform.

22 years agoupdate
Peter Eisentraut [Tue, 29 Jan 2002 20:39:49 +0000 (20:39 +0000)]
update

22 years agoMake S/390 TAS spell __inline__ the same way as the other eight GCC
Tom Lane [Tue, 29 Jan 2002 15:44:42 +0000 (15:44 +0000)]
Make S/390 TAS spell __inline__ the same way as the other eight GCC
inline routines do.

22 years agoRemove gratuitous redefinition of inline, which should already have been
Tom Lane [Tue, 29 Jan 2002 15:40:45 +0000 (15:40 +0000)]
Remove gratuitous redefinition of inline, which should already have been
taken care of in pg_config.h.

22 years agoRemove dashed items in preparations for 7.3.
Bruce Momjian [Sun, 27 Jan 2002 04:22:35 +0000 (04:22 +0000)]
Remove dashed items in preparations for 7.3.

22 years agoAdd:
Bruce Momjian [Sun, 27 Jan 2002 04:20:38 +0000 (04:20 +0000)]
Add:

> * Allow ORDER BY ... LIMIT to select top values without sort or index

22 years agoRemove link:
Bruce Momjian [Sat, 26 Jan 2002 23:17:32 +0000 (23:17 +0000)]
Remove link:

> * -Allow LOCK TABLE tab1, tab2, tab3 so all tables locked in unison

22 years agoUpdates from Serguei Mokhov
Peter Eisentraut [Sat, 26 Jan 2002 19:00:11 +0000 (19:00 +0000)]
Updates from Serguei Mokhov

22 years agoOverhaul plperl documentation.
Tom Lane [Fri, 25 Jan 2002 19:13:15 +0000 (19:13 +0000)]
Overhaul plperl documentation.

22 years agoTweak pg_dump to say GRANT ALL when appropriate, rather than enumerating
Tom Lane [Fri, 25 Jan 2002 18:49:31 +0000 (18:49 +0000)]
Tweak pg_dump to say GRANT ALL when appropriate, rather than enumerating
the individual privilege bits.  I regard this as an important change for
cross-version compatibility: without this, a 7.1 dump loaded into 7.2
is likely to be short a few privileges.

22 years agoFix typo in usage message, per Oleg.
Tom Lane [Fri, 25 Jan 2002 15:40:13 +0000 (15:40 +0000)]
Fix typo in usage message, per Oleg.

22 years agoFix +/- mixup pointed out by Rod Taylor.
Bruce Momjian [Fri, 25 Jan 2002 02:39:28 +0000 (02:39 +0000)]
Fix +/- mixup pointed out by Rod Taylor.

22 years agoAdd mention of UPDATE
Bruce Momjian [Fri, 25 Jan 2002 02:33:39 +0000 (02:33 +0000)]
Add mention of UPDATE

>  o Allow UPDATE/DELETE WHERE CURRENT OF cursor using per-cursor tid

22 years agoAdd mention of implementation:
Bruce Momjian [Fri, 25 Jan 2002 02:32:59 +0000 (02:32 +0000)]
Add mention of implementation:

>  o Allow DELETE WHERE CURRENT OF cursor using per-cursor tid
>    stored in the backend

22 years agoAdd URL for pgj.
Bruce Momjian [Fri, 25 Jan 2002 02:30:49 +0000 (02:30 +0000)]
Add URL for pgj.

22 years agolet's roll up rc2 .. REL7_2_RC2
PostgreSQL Daemon [Fri, 25 Jan 2002 02:09:26 +0000 (02:09 +0000)]
let's roll up rc2 ..

22 years agoAdd 128 mention:
Bruce Momjian [Fri, 25 Jan 2002 01:04:47 +0000 (01:04 +0000)]
Add 128 mention:

> * Increase identifier length (NAMEDATALEN) if small performance hit,
>   perhaps to standard length of 128;  change struct pgNotify to use pid
>   first, breaks notify API;

22 years agoUpdated:
Bruce Momjian [Thu, 24 Jan 2002 23:50:09 +0000 (23:50 +0000)]
Updated:

> * Increase identifier length (NAMEDATALEN) if small performance hit;
>   change struct pgNotify to use pid first, breaks notify API

22 years agoAdded:
Bruce Momjian [Thu, 24 Jan 2002 23:35:40 +0000 (23:35 +0000)]
Added:

> * Evaluate AIX cs() spinlock macro for performance optimizations (Tatsuo)

22 years agoAnother clarification.
Bruce Momjian [Thu, 24 Jan 2002 22:20:18 +0000 (22:20 +0000)]
Another clarification.

22 years agoClarification on COPY failure options.
Bruce Momjian [Thu, 24 Jan 2002 22:19:48 +0000 (22:19 +0000)]
Clarification on COPY failure options.

22 years agoTweak plperl.c to compile against threaded Perls, per report from
Tom Lane [Thu, 24 Jan 2002 21:40:44 +0000 (21:40 +0000)]
Tweak plperl.c to compile against threaded Perls, per report from
cturner@redhat.com.

22 years agoCope with gcc that outputs a multiline version string, per Trond.
Tom Lane [Thu, 24 Jan 2002 19:50:36 +0000 (19:50 +0000)]
Cope with gcc that outputs a multiline version string, per Trond.

22 years agopltcl's spi_execp didn't handle NULL arguments quite correctly.
Tom Lane [Thu, 24 Jan 2002 19:31:36 +0000 (19:31 +0000)]
pltcl's spi_execp didn't handle NULL arguments quite correctly.
It would try to call the input conversion routines for them anyway.
So, a valid input string for the datatype had to be supplied.

22 years agoFix documentation misstatement: OLD is not valid in ON SELECT.
Tom Lane [Thu, 24 Jan 2002 18:28:15 +0000 (18:28 +0000)]
Fix documentation misstatement: OLD is not valid in ON SELECT.

22 years agoFix incorrect test for whether Perl code is returning undef. This
Tom Lane [Thu, 24 Jan 2002 16:53:42 +0000 (16:53 +0000)]
Fix incorrect test for whether Perl code is returning undef.  This
allows plperl routines to return NULL as intended.

22 years agoFix logic error in insert_fsm_page_entry: because compact_fsm_page_list
Tom Lane [Thu, 24 Jan 2002 15:31:43 +0000 (15:31 +0000)]
Fix logic error in insert_fsm_page_entry: because compact_fsm_page_list
removes any empty chunks, the chunk previously added won't be there
anymore, so it's possible there is zero free space in the rel's page list
afterwards.  Must loop back and rerun the part that adds a chunk to
the list.

22 years agoOverhaul PL/Tcl documentation.
Tom Lane [Wed, 23 Jan 2002 21:08:17 +0000 (21:08 +0000)]
Overhaul PL/Tcl documentation.

22 years agoAdd Goggle mention of previous discussion.
Bruce Momjian [Wed, 23 Jan 2002 19:22:08 +0000 (19:22 +0000)]
Add Goggle mention of previous discussion.

22 years agoRemove long-obsolete version of pltcl documentation.
Tom Lane [Wed, 23 Jan 2002 18:48:39 +0000 (18:48 +0000)]
Remove long-obsolete version of pltcl documentation.

22 years agoClean up Red Hat Tcl RPM brain-damage in a more reliable way: fix the
Tom Lane [Wed, 23 Jan 2002 18:45:41 +0000 (18:45 +0000)]
Clean up Red Hat Tcl RPM brain-damage in a more reliable way: fix the
value of TCL_SHLIB_LD in the shell script that creates Makefile.tcldefs,
rather than trying to persude gmake to do it.

22 years agoAdd new email;remove old entries.
Bruce Momjian [Wed, 23 Jan 2002 18:40:22 +0000 (18:40 +0000)]
Add new email;remove old entries.

22 years agoAdded patch to temporarily disable locale for descriptors too (Christof)
Michael Meskes [Wed, 23 Jan 2002 16:34:06 +0000 (16:34 +0000)]
Added patch to temporarily disable locale for descriptors too (Christof)

22 years agoAdd:
Bruce Momjian [Wed, 23 Jan 2002 16:14:04 +0000 (16:14 +0000)]
Add:

> * Reorder postgresql.conf WAL items in order of importance
> * Remove wal_files postgresql.conf option because WAL files are now recycled
> * Find proper defaults for postgresql.conf WAL entries
> * Add checkpoint_min_warning postgresql.conf option to warn about checkpoints
>   that are too frequent

22 years agoClarify URL:
Bruce Momjian [Tue, 22 Jan 2002 22:22:34 +0000 (22:22 +0000)]
Clarify URL:

<   http://www1.distributed.net/source, in client/common/cpucheck.cpp
---
>   from distributted.net, http://www1.distributed.net/source,
>   in client/common/cpucheck.cpp

22 years agoDocument SMP detection code.
Bruce Momjian [Tue, 22 Jan 2002 22:15:07 +0000 (22:15 +0000)]
Document SMP detection code.

22 years agoRe-group items.
Bruce Momjian [Tue, 22 Jan 2002 21:55:06 +0000 (21:55 +0000)]
Re-group items.

22 years agoBreak PERFORMANCE up into subsections.
Bruce Momjian [Tue, 22 Jan 2002 20:50:35 +0000 (20:50 +0000)]
Break PERFORMANCE up into subsections.

22 years agoAdd:
Bruce Momjian [Tue, 22 Jan 2002 20:40:27 +0000 (20:40 +0000)]
Add:

> * Add code to detect an SMP machine and handle spinlocks accordingly

22 years agoUpdate FAQ.
Bruce Momjian [Tue, 22 Jan 2002 20:24:14 +0000 (20:24 +0000)]
Update FAQ.

22 years agolibpq++/pgconnection.h must not include postgres_fe.h, else it fails to
Tom Lane [Tue, 22 Jan 2002 19:02:40 +0000 (19:02 +0000)]
libpq++/pgconnection.h must not include postgres_fe.h, else it fails to
compile in client apps that use the standard installed header set.
To allow removing that include, move DLLIMPORT definitions out of c.h
and into the appropriate port-specific header files.

22 years agookay, sorry for delay all ... here is the tag for RC1 ... REL7_2_RC1
PostgreSQL Daemon [Tue, 22 Jan 2002 17:55:30 +0000 (17:55 +0000)]
okay, sorry for delay all ... here is the tag for RC1 ...

22 years agoSuppress bogus soname switch that RedHat RPMs put into tclConfig.sh.
Tom Lane [Mon, 21 Jan 2002 03:27:46 +0000 (03:27 +0000)]
Suppress bogus soname switch that RedHat RPMs put into tclConfig.sh.

22 years agoSpell-check and markup police
Peter Eisentraut [Sun, 20 Jan 2002 22:19:57 +0000 (22:19 +0000)]
Spell-check and markup police

22 years agoMention that 'make distclean' is a good idea when changing configure
Tom Lane [Sun, 20 Jan 2002 05:45:18 +0000 (05:45 +0000)]
Mention that 'make distclean' is a good idea when changing configure
options.  Document --with-pam and --enable-depend, do some minor
copy-editing.

22 years agoAdd IN/EXISTS file.
Bruce Momjian [Sun, 20 Jan 2002 05:12:57 +0000 (05:12 +0000)]
Add IN/EXISTS file.

22 years agoAdd
Bruce Momjian [Sun, 20 Jan 2002 04:56:14 +0000 (04:56 +0000)]
Add

> * Make IN/NOT IN have similar performance to EXISTS/NOT EXISTS [exists]

22 years agoUpdate from Kova'cs Zolta'n
Peter Eisentraut [Fri, 18 Jan 2002 21:25:00 +0000 (21:25 +0000)]
Update from Kova'cs Zolta'n

22 years agoAdd missing literal endtag.
Bruce Momjian [Fri, 18 Jan 2002 21:17:07 +0000 (21:17 +0000)]
Add missing literal endtag.

22 years agoAdd info about how to enable large-file support, so that pg_dump won't
Tom Lane [Fri, 18 Jan 2002 20:56:17 +0000 (20:56 +0000)]
Add info about how to enable large-file support, so that pg_dump won't
choke at 2Gb of output.  From Andrew Sullivan.

22 years agoAdd:
Bruce Momjian [Fri, 18 Jan 2002 20:46:37 +0000 (20:46 +0000)]
Add:

> * Use thread-safe crypt() in libpq, if available

22 years agoImprove non-thread-safe mention of libpq's crypt.
Bruce Momjian [Fri, 18 Jan 2002 20:39:04 +0000 (20:39 +0000)]
Improve non-thread-safe mention of libpq's crypt.

22 years agoImprove description of autocommit behavior in ecpg manual pages.
Bruce Momjian [Fri, 18 Jan 2002 20:32:54 +0000 (20:32 +0000)]
Improve description of autocommit behavior in ecpg manual pages.

22 years agoYou might want to run pg_indent on pg_backup_db.c however ...
Bruce Momjian [Fri, 18 Jan 2002 19:17:05 +0000 (19:17 +0000)]
You might want to run pg_indent on pg_backup_db.c however ...

tom lane

22 years agoFixes to getImportedKeys/getExportedKeys from Jason Davies
Dave Cramer [Fri, 18 Jan 2002 17:21:51 +0000 (17:21 +0000)]
Fixes to getImportedKeys/getExportedKeys from Jason Davies
Previous versions did not correctly identify primary/foreign keys

22 years agoFix pg_restore to handle the 'set max oid' entry correctly in archives
Tom Lane [Fri, 18 Jan 2002 17:13:51 +0000 (17:13 +0000)]
Fix pg_restore to handle the 'set max oid' entry correctly in archives
dumped by pg_dump -o.  Per bug report posted by Bruce; fix is from
Philip Warner, reviewed by Tom Lane.

22 years agoAdd missing 'else', per report from sugita@sra.co.jp.
Tom Lane [Fri, 18 Jan 2002 16:14:54 +0000 (16:14 +0000)]
Add missing 'else', per report from sugita@sra.co.jp.

22 years agoAccept subsequent commits. This should have been just a warning anyway. I
Michael Meskes [Fri, 18 Jan 2002 15:51:00 +0000 (15:51 +0000)]
Accept subsequent commits. This should have been just a warning anyway. I
cannot see a reason why it should be an error.

22 years agoEnable /contrib/pg_upgrade, mention little testing.
Bruce Momjian [Fri, 18 Jan 2002 04:38:46 +0000 (04:38 +0000)]
Enable /contrib/pg_upgrade, mention little testing.