OSDN Git Service

pg-rex/syncrep.git
22 years agoThere already was a macro PageGetItemId; this is now used in (almost)
Bruce Momjian [Tue, 2 Jul 2002 05:48:44 +0000 (05:48 +0000)]
There already was a macro PageGetItemId;  this is now used in (almost)
all places, where pd_linp is accessed.  Also introduce new macros
SizeOfPageHeaderData and BTMaxItemSize. This is just source code
cosmetic, no behaviour changed.

Manfred Koizar

22 years agoMinor code cleanup in bufmgr.c and bufmgr.h, mainly by moving repeated
Bruce Momjian [Tue, 2 Jul 2002 05:47:37 +0000 (05:47 +0000)]
Minor code cleanup in bufmgr.c and bufmgr.h, mainly by moving repeated
lines of code into internal routines (drop_relfilenode_buffers,
release_buffer) and by hiding unused routines (PrintBufferDescs,
PrintPinnedBufs) behind #ifdef NOT_USED. Remove AbortBufferIO()
declaration from bufmgr.c (already declared in bufmgr.h)

Manfred Koizar

22 years agoThis patch, which is built upon the "HeapTupleHeader accessor macros"
Bruce Momjian [Tue, 2 Jul 2002 05:46:14 +0000 (05:46 +0000)]
This patch, which is built upon the "HeapTupleHeader accessor macros"
patch from 2002-06-10, is supposed to reduce the heap tuple header size
by four bytes on most architectures.  Of course it changes the on-disk
tuple format and therefore requires initdb.

This overlays cmin/cmax/xmax fields into only two fields.

Manfred Koizar

22 years agoBack out regress/results changes. Real CVS problem worked-around.
Bruce Momjian [Tue, 2 Jul 2002 05:43:34 +0000 (05:43 +0000)]
Back out regress/results changes.  Real CVS problem worked-around.

22 years agoFix removal of results directory on 'make clean'. Just remove *.out
Bruce Momjian [Tue, 2 Jul 2002 04:53:52 +0000 (04:53 +0000)]
Fix removal of results directory on 'make clean'.  Just remove *.out
files.  Was causing CVS problems.

22 years agoFirst phase of applying Rod Taylor's pg_depend patch. This just adds
Tom Lane [Mon, 1 Jul 2002 15:27:56 +0000 (15:27 +0000)]
First phase of applying Rod Taylor's pg_depend patch.  This just adds
RESTRICT/CASCADE syntax to the DROP commands that need it, and propagates
the behavioral option through the parser to the routines that execute
drops.  Doesn't do anything useful yet, but I figured I'd commit these
changes so I could get out of the parser area while working on the rest.

22 years agoCommit old versions into main branch again.
Michael Meskes [Mon, 1 Jul 2002 06:56:10 +0000 (06:56 +0000)]
Commit old versions into main branch again.

Michael

22 years agoCommitting parser changes. Note, however, that the development bison seems ot have...
Michael Meskes [Sun, 30 Jun 2002 09:34:14 +0000 (09:34 +0000)]
Committing parser changes. Note, however, that the development bison seems ot have a problem on my home machine. So these go in untested for the time being. But at least I have them in the archive.

Michael

22 years agoNot done:
Bruce Momjian [Fri, 28 Jun 2002 19:28:30 +0000 (19:28 +0000)]
Not done:

> * Add the functionality for WITH CHECK OPTION clause of CREATE VIEW

22 years agoDone:
Bruce Momjian [Fri, 28 Jun 2002 18:57:35 +0000 (18:57 +0000)]
Done:

> * -Add the functionality for WITH CHECK OPTION clause of CREATE VIEW

22 years ago1) prevent setting of KSQO on 7.3+ servers(Thanks to Dave Page).
Hiroshi Inoue [Fri, 28 Jun 2002 02:44:15 +0000 (02:44 +0000)]
1) prevent setting of KSQO on 7.3+ servers(Thanks to Dave Page).
2) Allow LF->CR/LF conversion under UNICODE driver.

22 years agofixed build.xml to echo correct jdbc version under ant1.6
Barry Lind [Thu, 27 Jun 2002 04:38:01 +0000 (04:38 +0000)]
fixed build.xml to echo correct jdbc version under ant1.6

22 years agogeneral cleanup of jdbc code
Barry Lind [Thu, 27 Jun 2002 03:37:30 +0000 (03:37 +0000)]
general cleanup of jdbc code

22 years agoRestore error message I accidentally changed.
Bruce Momjian [Wed, 26 Jun 2002 22:16:54 +0000 (22:16 +0000)]
Restore error message I accidentally changed.

22 years agoThe attached patch fixes some spelling mistakes, makes the
Bruce Momjian [Wed, 26 Jun 2002 21:58:56 +0000 (21:58 +0000)]
The attached patch fixes some spelling mistakes, makes the
comments on one of the optimizer functions a lot more
clear, adds a summary of the recent KSQO discussion to the
comments in the code, adds regression tests for the bug with
sequence state Tom fixed recently and another reg. test, and
removes some PostQuel legacy stuff: ExecAppend -> ExecInsert,
ExecRetrieve -> ExecSelect, etc.

Error messages remain unchanged until a vote.

Neil Conway

22 years agoTreat \r as white space when parsing pg_hba and related files.
Tom Lane [Wed, 26 Jun 2002 14:52:08 +0000 (14:52 +0000)]
Treat \r as white space when parsing pg_hba and related files.
Should make life easier for DBAs who insist on editing files with
Windoze tools.

22 years agotranslation patch submitted by Zhenbang Wei forth@mail.net.tw
Barry Lind [Wed, 26 Jun 2002 03:21:27 +0000 (03:21 +0000)]
translation patch submitted by Zhenbang Wei forth@mail.net.tw

22 years agopatch submitted by Jason Davies jason@netspade.com to provide proper java class name...
Barry Lind [Wed, 26 Jun 2002 03:16:57 +0000 (03:16 +0000)]
patch submitted by Jason Davies jason@netspade.com to provide proper java class name for a byte[]

22 years agoBack out cleanup patch. Got old version and needs work.
Bruce Momjian [Tue, 25 Jun 2002 17:58:10 +0000 (17:58 +0000)]
Back out cleanup patch.  Got old version and needs work.

Neil Conway

22 years agoThe attached patch fixes some spelling mistakes, makes the
Bruce Momjian [Tue, 25 Jun 2002 17:27:20 +0000 (17:27 +0000)]
The attached patch fixes some spelling mistakes, makes the
comments on one of the optimizer functions a lot more
clear, adds a summary of the recent KSQO discussion to the
comments in the code, adds regression tests for the bug with
sequence state Tom fixed recently and another reg. test, and
removes some PostQuel legacy stuff: ExecAppend -> ExecInsert,
ExecRetrieve -> ExecSelect, etc. This was changed because the
elog() messages from this routine are user-visible, so we
should be using the SQL terms.

Neil Conway

22 years agoHere is a patch for a memory leak in rtree.c, version 7.2.1 (in code
Bruce Momjian [Tue, 25 Jun 2002 17:26:11 +0000 (17:26 +0000)]
Here is a patch for a memory leak in rtree.c, version 7.2.1 (in code
that I submitted last year, alas).

Kenneth Been

22 years agofixed retrieval of foreign/primary keys in imported/exported keys
Dave Cramer [Tue, 25 Jun 2002 16:30:49 +0000 (16:30 +0000)]
fixed retrieval of foreign/primary keys in imported/exported keys

22 years agoUpdate FAQ.
Bruce Momjian [Tue, 25 Jun 2002 03:35:13 +0000 (03:35 +0000)]
Update FAQ.

22 years agoAdd more info on regex's using INDEX.
Bruce Momjian [Tue, 25 Jun 2002 03:32:31 +0000 (03:32 +0000)]
Add more info on regex's using INDEX.

22 years ago1) Add support for GB18030.
Hiroshi Inoue [Tue, 25 Jun 2002 01:54:19 +0000 (01:54 +0000)]
1) Add support for GB18030.
2) Fix a bug about the handling of large objects.

22 years agoUpdate FAQ.
Bruce Momjian [Tue, 25 Jun 2002 01:45:58 +0000 (01:45 +0000)]
Update FAQ.

22 years agoplpgsql's PERFORM statement now sets FOUND depending on whether any
Tom Lane [Mon, 24 Jun 2002 23:12:06 +0000 (23:12 +0000)]
plpgsql's PERFORM statement now sets FOUND depending on whether any
rows were returned by the performed query.  Per recent pgsql-general
discussion.

22 years agoDocument quote_ident and quote_literal in the main list of string functions,
Tom Lane [Mon, 24 Jun 2002 22:17:01 +0000 (22:17 +0000)]
Document quote_ident and quote_literal in the main list of string functions,
as suggested by Josh Berkus.

22 years agopatch to add support for callable statements to the jdbc driver. The patch was submi...
Barry Lind [Mon, 24 Jun 2002 06:16:27 +0000 (06:16 +0000)]
patch to add support for callable statements to the jdbc driver.  The patch was submitted by Paul Bethe pmbethe@yahoo.com

22 years agopatch to update zh_TW message file for jdbc submitted by Zhenband Wei (forth@mail...
Barry Lind [Mon, 24 Jun 2002 05:14:26 +0000 (05:14 +0000)]
patch to update zh_TW message file for jdbc submitted by Zhenband Wei (forth@mail.net.tw)

22 years agopatch submitted by Jason Davies jason@netspade.com to improve ResultSetMetaData.getCo...
Barry Lind [Mon, 24 Jun 2002 05:09:29 +0000 (05:09 +0000)]
patch submitted by Jason Davies jason@netspade.com to improve ResultSetMetaData.getColumnClassName() support

22 years agofixed bug reported by Wolfgang Winter w.winter@logitags.com where historic timestamps...
Barry Lind [Mon, 24 Jun 2002 04:53:05 +0000 (04:53 +0000)]
fixed bug reported by Wolfgang Winter w.winter@logitags.com where historic timestamps which do not have timezone info were being interpreted in local timezone instead of GMT.  Also added a check to support timestamp vs. timestamptz in this code

22 years agoLink dbmirror into /contrib system.
Bruce Momjian [Sun, 23 Jun 2002 22:15:04 +0000 (22:15 +0000)]
Link dbmirror into /contrib system.

22 years agoAdd dbmirror to /contrib. Minor C cleanups and Makefile.
Bruce Momjian [Sun, 23 Jun 2002 21:58:08 +0000 (21:58 +0000)]
Add dbmirror to /contrib.  Minor C cleanups and Makefile.

Steven Singer

22 years agoIt seems that ExecInit/EndIndexScan is leaking some memory...
Bruce Momjian [Sun, 23 Jun 2002 21:29:32 +0000 (21:29 +0000)]
It seems that ExecInit/EndIndexScan is leaking some memory...

For example, if I run a query, that uses an index scan, and call
MemoryContextSt ats (CurrentMemoryContext) before ExecutorStart() and
after ExecutorEnd() in ProcessQuery(), I am consistently see ing that
the 'after' call shows 256 bytes more used, then 'before'...

The problem seems to be in ExecEndIndexScan - it does not release
scanstate, ind exstate, indexstate->iss_RelationDescs and indexstate ->
iss_ScanDescs...

Dmitry Tkach

22 years agoAdd indexing for isbn and issn.
Bruce Momjian [Sun, 23 Jun 2002 21:20:38 +0000 (21:20 +0000)]
Add indexing for isbn and issn.

Dan Weston

22 years agoAdd MIN/MAX LIMIT/OFFSET mention.
Bruce Momjian [Sun, 23 Jun 2002 21:16:29 +0000 (21:16 +0000)]
Add MIN/MAX LIMIT/OFFSET mention.

22 years agoRemove unused INET6 variable.
Bruce Momjian [Sun, 23 Jun 2002 20:30:48 +0000 (20:30 +0000)]
Remove unused INET6 variable.

22 years agoUpdate dbsize documentation with:
Bruce Momjian [Sun, 23 Jun 2002 20:09:23 +0000 (20:09 +0000)]
Update dbsize documentation with:

Copy this directory to contrib/dbsize in your PostgreSQL source tree.
Then just run make; make install.  Finally, load the functions into any
database using dbsize.sql.

When computing the size of a table, it does not include TOAST or index
disk space.

22 years agoRemove INET6 from SSL. We don't support INET6 yet.
Bruce Momjian [Sun, 23 Jun 2002 14:56:16 +0000 (14:56 +0000)]
Remove INET6 from SSL.  We don't support INET6 yet.

22 years agoRename command to reindexdb, for consistency.
Bruce Momjian [Sun, 23 Jun 2002 03:51:55 +0000 (03:51 +0000)]
Rename command to reindexdb, for consistency.

22 years agoMention REINDEX can be used for disk space reclaimation too.
Bruce Momjian [Sun, 23 Jun 2002 03:45:15 +0000 (03:45 +0000)]
Mention REINDEX can be used for disk space reclaimation too.

22 years agoHandle mixed-case names in reindex script.
Bruce Momjian [Sun, 23 Jun 2002 03:37:12 +0000 (03:37 +0000)]
Handle mixed-case names in reindex script.

Document need for reindex in SGML docs.

22 years agouint -> uint32, portability.
Bruce Momjian [Sat, 22 Jun 2002 04:08:07 +0000 (04:08 +0000)]
uint -> uint32, portability.

22 years agoImplement SQL99 CREATE CAST and DROP CAST statements.
Thomas G. Lockhart [Sat, 22 Jun 2002 02:04:55 +0000 (02:04 +0000)]
Implement SQL99 CREATE CAST and DROP CAST statements.
 Also implement alternative forms to expose the PostgreSQL CREATE FUNCTION
 features.
Implement syntax for READ ONLY and READ WRITE clauses in SET TRANSACTION.
 READ WRITE is already implemented (of course).
Implement syntax for "LIKE table" clause in CREATE TABLE. Should be fairly
 easy to complete since it resembles SELECT INTO.
Implement MATCH SIMPLE clause for foreign key definitions. This is explicit
 SQL99 syntax for the default behavior, so we now support it :)
Start implementation of shorthand for national character literals in
 scanner. For now, just swallow the leading "N", but sometime soon let's
 figure out how to pass leading type info from the scanner to the parser.
 We should use the same technique for binary and hex bit string literals,
 though it might be unusual to have two apparently independent literal
 types fold into the same storage type.

22 years agoDone:
Bruce Momjian [Fri, 21 Jun 2002 20:13:08 +0000 (20:13 +0000)]
Done:

> * -Test hash index performance and discourage usage

22 years agoAdd mention of segmented files to oid2name.
Bruce Momjian [Fri, 21 Jun 2002 19:48:18 +0000 (19:48 +0000)]
Add mention of segmented files to oid2name.

22 years agoAdd reindex utility to /contrib.
Bruce Momjian [Fri, 21 Jun 2002 19:34:18 +0000 (19:34 +0000)]
Add reindex utility to /contrib.

Shaun Thomas                   <sthomas@townnews.com>

22 years agoMention dbsize in database sizing manual section.
Bruce Momjian [Fri, 21 Jun 2002 19:17:40 +0000 (19:17 +0000)]
Mention dbsize in database sizing manual section.

22 years agoMention "PostgreSQL"'s hashes as slower/similar to btree.
Bruce Momjian [Fri, 21 Jun 2002 19:06:44 +0000 (19:06 +0000)]
Mention "PostgreSQL"'s hashes as slower/similar to btree.

22 years agoUpdate hash warning in manual.
Bruce Momjian [Fri, 21 Jun 2002 16:52:00 +0000 (16:52 +0000)]
Update hash warning in manual.

22 years agoDocument problems with hash indexes compared to btree.
Bruce Momjian [Fri, 21 Jun 2002 03:25:53 +0000 (03:25 +0000)]
Document problems with hash indexes compared to btree.

22 years agoRemove Jan's copyright, with his approval.
Bruce Momjian [Fri, 21 Jun 2002 02:59:38 +0000 (02:59 +0000)]
Remove Jan's copyright, with his approval.

22 years agoUpdate FAQ.
Bruce Momjian [Fri, 21 Jun 2002 02:01:04 +0000 (02:01 +0000)]
Update FAQ.

22 years agoAdd pg_dump/restore item to FAQ.
Bruce Momjian [Fri, 21 Jun 2002 02:00:51 +0000 (02:00 +0000)]
Add pg_dump/restore item to FAQ.

Martijn van Oosterhout

22 years agoAdd new documentation on page format.
Bruce Momjian [Thu, 20 Jun 2002 21:48:47 +0000 (21:48 +0000)]
Add new documentation on page format.

Martijn van Ooster

22 years agoClean up some copyrights.
Bruce Momjian [Thu, 20 Jun 2002 20:51:45 +0000 (20:51 +0000)]
Clean up some copyrights.

22 years agoAdd another missing SRF file.
Bruce Momjian [Thu, 20 Jun 2002 20:39:04 +0000 (20:39 +0000)]
Add another missing SRF file.

22 years agoAdd missing SRF file.
Bruce Momjian [Thu, 20 Jun 2002 20:37:00 +0000 (20:37 +0000)]
Add missing SRF file.

22 years agoAdd missing regression files for SRF.
Bruce Momjian [Thu, 20 Jun 2002 20:35:56 +0000 (20:35 +0000)]
Add missing regression files for SRF.

22 years agoUpdate copyright to 2002.
Bruce Momjian [Thu, 20 Jun 2002 20:29:54 +0000 (20:29 +0000)]
Update copyright to 2002.

22 years agoHere is a patch for Composite and Set returning function support. I made
Bruce Momjian [Thu, 20 Jun 2002 17:19:08 +0000 (17:19 +0000)]
Here is a patch for Composite and Set returning function support. I made
two small changes to the API since last patch, which hopefully completes
the decoupling of composite function support from SRF specific support.

Joe Conway

22 years agoAttached is a regression test patch for SRFs. I based it on the test
Bruce Momjian [Thu, 20 Jun 2002 17:09:42 +0000 (17:09 +0000)]
Attached is a regression test patch for SRFs. I based it on the test
scripts that I have been using, minus the C function tests and without
calls to random() -- figured random() wouldn't work too well for a
regression test ;-)

Joe Conway

22 years ago> Here's the first doc patch for SRFs. The patch covers general
Bruce Momjian [Thu, 20 Jun 2002 16:57:00 +0000 (16:57 +0000)]
> Here's the first doc patch for SRFs. The patch covers general
> information and SQL language specific info wrt SRFs. I've taken to
> calling this feature "Table Fuctions" to be consistent with (at least)
> one well known RDBMS.

Joe Conway

22 years agoAdd from Dave Cramer:
Bruce Momjian [Thu, 20 Jun 2002 16:55:20 +0000 (16:55 +0000)]
Add from Dave Cramer:

JDBC
>  o Compile under jdk 1.4

22 years agoUpdate as done:
Bruce Momjian [Thu, 20 Jun 2002 16:49:41 +0000 (16:49 +0000)]
Update as done:

JDBC:
>  o -Updateable resultSet

22 years agoImprove COPY syntax to use WITH clause, keep backward compatibility.
Bruce Momjian [Thu, 20 Jun 2002 16:00:44 +0000 (16:00 +0000)]
Improve COPY syntax to use WITH clause, keep backward compatibility.

22 years agoThis patch updates the CREATE LANGUAGE & pg_language docs for the 7.3
Bruce Momjian [Thu, 20 Jun 2002 15:44:06 +0000 (15:44 +0000)]
This patch updates the CREATE LANGUAGE & pg_language docs for the 7.3
table structure.

 Dave Page

22 years agoAdd new Russian FAQ.
Bruce Momjian [Thu, 20 Jun 2002 04:34:31 +0000 (04:34 +0000)]
Add new Russian FAQ.

Viktor Vislobokov

22 years agoAdd:
Bruce Momjian [Wed, 19 Jun 2002 16:36:13 +0000 (16:36 +0000)]
Add:

> * -Allow object creation to be disabled for specific users

22 years agoProperly mark rules that return no value.
Bruce Momjian [Wed, 19 Jun 2002 15:40:58 +0000 (15:40 +0000)]
Properly mark rules that return no value.

22 years agoCacheMemoryContext should be DLLIMPORT.
Tom Lane [Wed, 19 Jun 2002 13:46:09 +0000 (13:46 +0000)]
CacheMemoryContext should be DLLIMPORT.

22 years agoSplit list of SQL99 features into "Supported" and "Unsupported" lists.
Thomas G. Lockhart [Wed, 19 Jun 2002 06:11:36 +0000 (06:11 +0000)]
Split list of SQL99 features into "Supported" and "Unsupported" lists.

22 years agoWrap long gram.y lines.
Bruce Momjian [Tue, 18 Jun 2002 17:56:41 +0000 (17:56 +0000)]
Wrap long gram.y lines.

22 years agoChange CREATE DATABASE to use DefElem instead of constructing structure
Bruce Momjian [Tue, 18 Jun 2002 17:27:58 +0000 (17:27 +0000)]
Change CREATE DATABASE to use DefElem instead of constructing structure
members in gram.y.  This is the prefered method for WITH and arbitrary
param/value pairs.

22 years agoImprove rule action ordering in gram.y, more cleanups.
Bruce Momjian [Tue, 18 Jun 2002 00:28:11 +0000 (00:28 +0000)]
Improve rule action ordering in gram.y, more cleanups.

22 years agoMark noise keyword actions with {} rather than returning TRUE, like
Bruce Momjian [Mon, 17 Jun 2002 20:38:04 +0000 (20:38 +0000)]
Mark noise keyword actions with {} rather than returning TRUE, like
opt_with and from_in.

22 years agoManually indent gram.y to be consistent.
Bruce Momjian [Mon, 17 Jun 2002 20:27:43 +0000 (20:27 +0000)]
Manually indent gram.y to be consistent.

22 years agoUse KAME accessor macros for addr8.
Bruce Momjian [Mon, 17 Jun 2002 15:55:09 +0000 (15:55 +0000)]
Use KAME accessor macros for addr8.

22 years agoFix missing 'buf' variable in SSL sources and add missing includes.
Bruce Momjian [Mon, 17 Jun 2002 15:23:36 +0000 (15:23 +0000)]
Fix missing 'buf' variable in SSL sources and add missing includes.

22 years agoFix SSL DEBUG levels to match CVS elog flags.
Bruce Momjian [Mon, 17 Jun 2002 15:19:28 +0000 (15:19 +0000)]
Fix SSL DEBUG levels to match CVS elog flags.

22 years agoBack out accidental COPY data changes.
Bruce Momjian [Mon, 17 Jun 2002 15:01:45 +0000 (15:01 +0000)]
Back out accidental COPY data changes.

22 years agoRepair AlterTableOwner --- was failing for relations with indexes.
Tom Lane [Mon, 17 Jun 2002 14:31:32 +0000 (14:31 +0000)]
Repair AlterTableOwner --- was failing for relations with indexes.

22 years agoFixed parser bug concerning octal numbers in single quotes.
Michael Meskes [Mon, 17 Jun 2002 13:23:27 +0000 (13:23 +0000)]
Fixed parser bug concerning octal numbers in single quotes.

22 years agoRename DEBUG to DEBUG1 in SSL code.
Bruce Momjian [Mon, 17 Jun 2002 07:33:25 +0000 (07:33 +0000)]
Rename DEBUG to DEBUG1 in SSL code.

22 years agoMerge ALTER GROUP ADD/DROP rules by creating add_drop action.
Bruce Momjian [Mon, 17 Jun 2002 07:00:27 +0000 (07:00 +0000)]
Merge ALTER GROUP ADD/DROP rules by creating add_drop action.

22 years agoSimplify optional WITH handling in CREATE USER, ALTER USER, CREATE
Bruce Momjian [Mon, 17 Jun 2002 05:40:32 +0000 (05:40 +0000)]
Simplify optional WITH handling in CREATE USER, ALTER USER, CREATE
GROUP.  Make WITH optional in CREATE DATABASE for consistency.

22 years agoimplemented refresh row
Dave Cramer [Sun, 16 Jun 2002 18:26:53 +0000 (18:26 +0000)]
implemented refresh row

22 years agoRemove KSQO from GUC and move file to _deadcode.
Bruce Momjian [Sun, 16 Jun 2002 00:09:12 +0000 (00:09 +0000)]
Remove KSQO from GUC and move file to _deadcode.

22 years agoFix up memory leakage created by recent changes.
Tom Lane [Sat, 15 Jun 2002 22:25:40 +0000 (22:25 +0000)]
Fix up memory leakage created by recent changes.

22 years agoOoops, fix busted markup.
Tom Lane [Sat, 15 Jun 2002 22:15:03 +0000 (22:15 +0000)]
Ooops, fix busted markup.

22 years agoClean up gcc warnings. Avoid the bad habit of putting externs in .c
Tom Lane [Sat, 15 Jun 2002 22:06:09 +0000 (22:06 +0000)]
Clean up gcc warnings.  Avoid the bad habit of putting externs in .c
files rather than a header file where they belong.  Pay some modicum
of attention to picking global routine names that aren't likely to
conflict with surrounding applications.

22 years agoFix up gcc warnings, improve comments.
Tom Lane [Sat, 15 Jun 2002 21:52:31 +0000 (21:52 +0000)]
Fix up gcc warnings, improve comments.

22 years agoAdd a little more material to the new section about evaluation order.
Tom Lane [Sat, 15 Jun 2002 21:28:55 +0000 (21:28 +0000)]
Add a little more material to the new section about evaluation order.

22 years agoPatch for current_schemas to optionally include implicit ...
Bruce Momjian [Sat, 15 Jun 2002 20:03:51 +0000 (20:03 +0000)]
Patch for current_schemas to optionally include implicit ...

Second cut attached. This one just adds a boolean option to the existing
function to indicate that implicit schemas are to be included (or not).
I remembered the docs as well this time :-)

Dave Page

22 years agoPATCH SSL_pending() checks in libpq/fe-misc.c:
Bruce Momjian [Sat, 15 Jun 2002 20:01:31 +0000 (20:01 +0000)]
PATCH SSL_pending() checks in libpq/fe-misc.c:

I am no longer pursuing a total non-blocking implementation.  I haven't
found a good way to test it with the type of work that I do with
PostgreSQL.  I do use blocking SSL sockets with this mod and have had no
problem whatsoever.  The bug that I fixed in this patch is exceptionally
hard to reproduce reliably.

Jack Bates

22 years agoWriteBuffer return value:
Bruce Momjian [Sat, 15 Jun 2002 19:59:59 +0000 (19:59 +0000)]
WriteBuffer return value:

>I'd vote for changing WriteBuffer to
>return void, and have it elog() on bad argument.

Manfred Koizar

22 years agoUpdate LOG_PID to mention it doesn't control syslog.
Bruce Momjian [Sat, 15 Jun 2002 19:58:53 +0000 (19:58 +0000)]
Update LOG_PID to mention it doesn't control syslog.

Oliver Elphick

22 years agoRemove some pre-WAL relics:
Bruce Momjian [Sat, 15 Jun 2002 19:55:38 +0000 (19:55 +0000)]
Remove some pre-WAL relics:
  SharedBufferChanged
  BufferRelidLastDirtied
  BufferTagLastDirtied
  BufferDirtiedByMe

Manfred Koizar

22 years agoThis patch wraps all accesses to t_xmin, t_cmin, t_xmax, and t_cmax in
Bruce Momjian [Sat, 15 Jun 2002 19:54:24 +0000 (19:54 +0000)]
This patch wraps all accesses to t_xmin, t_cmin, t_xmax, and t_cmax in
HeapTupleHeaderData in setter and getter macros called
HeapTupleHeaderGetXmin, HeapTupleHeaderSetXmin etc.

It also introduces a "virtual" field xvac by defining
HeapTupleHeaderGetXvac and HeapTupleHeaderSetXvac.  Xvac is used by
VACUUM, in fact it is stored in t_cmin.

Manfred Koizar