OSDN Git Service

pg-rex/syncrep.git
22 years agoPut some kind of grammatical uniformity in the <refpurpose> lines.
Peter Eisentraut [Mon, 3 Sep 2001 12:57:50 +0000 (12:57 +0000)]
Put some kind of grammatical uniformity in the <refpurpose> lines.

22 years agoPut pgstat internal files into $PGDATA/global.
Peter Eisentraut [Mon, 3 Sep 2001 12:00:00 +0000 (12:00 +0000)]
Put pgstat internal files into $PGDATA/global.

22 years agoParse the arguments of \connect as SQL identifiers, so that they expose
Peter Eisentraut [Sun, 2 Sep 2001 23:52:19 +0000 (23:52 +0000)]
Parse the arguments of \connect as SQL identifiers, so that they expose
the expected behavior in mixed-case situations.

bug report from James Pattie, 2001-08-31

22 years agoNew blood and fresh air for tutorial
Peter Eisentraut [Sun, 2 Sep 2001 23:27:50 +0000 (23:27 +0000)]
New blood and fresh air for tutorial

22 years agoThe actual execution results are different from examples.
Tatsuo Ishii [Fri, 31 Aug 2001 07:45:09 +0000 (07:45 +0000)]
The actual execution results are different from examples.

22 years agoActual results are different from examples
Tatsuo Ishii [Fri, 31 Aug 2001 07:30:05 +0000 (07:30 +0000)]
Actual results are different from examples

22 years agoAdd ; to the create operator.
Tatsuo Ishii [Fri, 31 Aug 2001 04:17:13 +0000 (04:17 +0000)]
Add ; to the create operator.

22 years agoSince 7.1 the data type size of TIME has been increased.
Tatsuo Ishii [Fri, 31 Aug 2001 01:55:25 +0000 (01:55 +0000)]
Since 7.1 the data type size of TIME has been increased.

22 years agoConvert some fprintf's to elog's.
Peter Eisentraut [Thu, 30 Aug 2001 19:02:42 +0000 (19:02 +0000)]
Convert some fprintf's to elog's.

22 years agoFor INSERTs, one can now tab complete DEFAULT VALUES.
Peter Eisentraut [Thu, 30 Aug 2001 13:17:03 +0000 (13:17 +0000)]
For INSERTs, one can now tab complete DEFAULT VALUES.

from Liam Stewart

22 years agoFix typo.
Tatsuo Ishii [Thu, 30 Aug 2001 08:16:42 +0000 (08:16 +0000)]
Fix typo.

22 years agoInstall the SQL command man pages into a section appropriate for each
Peter Eisentraut [Wed, 29 Aug 2001 19:14:40 +0000 (19:14 +0000)]
Install the SQL command man pages into a section appropriate for each
system.  Some systems did not understand the 'l' section, and in general
it wasn't entirely appropriate.

On SCO OpenServer, the man pages won't be installed at all until someone
figures out their man system.

22 years agoRemove useless xreflabel.
Peter Eisentraut [Wed, 29 Aug 2001 19:11:00 +0000 (19:11 +0000)]
Remove useless xreflabel.

22 years agoWhoops, wrong logic.
Peter Eisentraut [Wed, 29 Aug 2001 11:54:12 +0000 (11:54 +0000)]
Whoops, wrong logic.

23 years agoChange the conditionals so the mips + gcc code here doesn't apply for Irix.
Peter Eisentraut [Tue, 28 Aug 2001 15:04:27 +0000 (15:04 +0000)]
Change the conditionals so the mips + gcc code here doesn't apply for Irix.
The code in s_lock.h should get used.

report from Bruno Mattarollo <bruno@web1.greenpeace.org>

23 years agoFix the readline test to find dependent libraries on NetBSD and OpenBSD.
Peter Eisentraut [Tue, 28 Aug 2001 14:59:11 +0000 (14:59 +0000)]
Fix the readline test to find dependent libraries on NetBSD and OpenBSD.
Not pretty, but it doesn't look like the OS will get fixed sometime soon.

23 years agoInclude directory rearrangement
Peter Eisentraut [Tue, 28 Aug 2001 14:20:28 +0000 (14:20 +0000)]
Include directory rearrangement

Client headers are no longer in a subdirectory, since they have been made
namespace-clean.

Internal libpq headers are in a private subdirectory.

Server headers are in a private subdirectory.  pg_config has a new option
to point there.

23 years agoFix a wrong error handling.
Hiroshi Inoue [Tue, 28 Aug 2001 05:52:13 +0000 (05:52 +0000)]
Fix a wrong error handling.

23 years agoAvoid #ifdef inside printf() ... that loses on platforms where printf()
Tom Lane [Tue, 28 Aug 2001 02:47:18 +0000 (02:47 +0000)]
Avoid #ifdef inside printf() ... that loses on platforms where printf()
is a macro.

23 years agoFix some typos.
Tom Lane [Mon, 27 Aug 2001 23:42:34 +0000 (23:42 +0000)]
Fix some typos.

23 years agoAdd some minimal exercising of functional-index feature to regression
Tom Lane [Mon, 27 Aug 2001 23:23:35 +0000 (23:23 +0000)]
Add some minimal exercising of functional-index feature to regression
tests.

23 years agoSuppress definitions of 'true' and 'false' macros if __cplusplus.
Tom Lane [Mon, 27 Aug 2001 23:02:25 +0000 (23:02 +0000)]
Suppress definitions of 'true' and 'false' macros if __cplusplus.
Since we're assuming a C++ compiler knows what 'bool' is, seems we
should assume it knows 'true' and 'false' too.  This prevents problems
on some systems, per report from Leandro Fanzone.

23 years agoUse a cursor for fetching data in -d or -D mode, so that pg_dump doesn't
Tom Lane [Mon, 27 Aug 2001 20:33:07 +0000 (20:33 +0000)]
Use a cursor for fetching data in -d or -D mode, so that pg_dump doesn't
run out of memory with large tables in these modes.  Patch from
Martijn van Oosterhout.

23 years agoFix confusion over static-ness of a subroutine.
Tom Lane [Mon, 27 Aug 2001 20:03:38 +0000 (20:03 +0000)]
Fix confusion over static-ness of a subroutine.

23 years agoRemove unneeded/unportable extern.
Tom Lane [Mon, 27 Aug 2001 20:02:10 +0000 (20:02 +0000)]
Remove unneeded/unportable extern.

23 years agoQuick-hack solution to regproc/oid issue was not the right solution.
Tom Lane [Mon, 27 Aug 2001 01:09:59 +0000 (01:09 +0000)]
Quick-hack solution to regproc/oid issue was not the right solution.

23 years agoUn-break pg_dump --- pg_class.indproc is now regproc not oid, which
Tom Lane [Mon, 27 Aug 2001 00:44:40 +0000 (00:44 +0000)]
Un-break pg_dump --- pg_class.indproc is now regproc not oid, which
for some reason displays a zero oid differently.  Possibly we should
revert that schema change, but it's easy to make pg_dump accept both
spellings so I'll do that for now.

23 years agoDo not install the odbc header files, per discussion on odbc list.
Peter Eisentraut [Mon, 27 Aug 2001 00:38:55 +0000 (00:38 +0000)]
Do not install the odbc header files, per discussion on odbc list.

23 years agoTurn on plpython build by default if we have something that looks like a
Peter Eisentraut [Mon, 27 Aug 2001 00:29:49 +0000 (00:29 +0000)]
Turn on plpython build by default if we have something that looks like a
shared library, or we can do without one.

23 years agoFix a complie error on Windows platform.
Hiroshi Inoue [Mon, 27 Aug 2001 00:18:03 +0000 (00:18 +0000)]
Fix a complie error on Windows platform.

23 years agoVPATH and DESTDIR support for PL/Perl, using the same techniques employed
Peter Eisentraut [Sun, 26 Aug 2001 23:54:41 +0000 (23:54 +0000)]
VPATH and DESTDIR support for PL/Perl, using the same techniques employed
in interfaces/perl5 a brief while ago.

Also, since building PL/Perl without a shared libperl actually works on
some platforms we can enable it there to get some development happening.
I've only checked off linux right now, but others should be added in the
future.

23 years agoPut the right runpath to libpq into the Perl module shared object on more
Peter Eisentraut [Sun, 26 Aug 2001 22:28:04 +0000 (22:28 +0000)]
Put the right runpath to libpq into the Perl module shared object on more
platforms and without relinking.

Also support VPATH builds and DESTDIR installs.  One hopes.

23 years agoDocumentation for transaction-ID-wraparound changes. Add a chapter to
Tom Lane [Sun, 26 Aug 2001 21:17:12 +0000 (21:17 +0000)]
Documentation for transaction-ID-wraparound changes.  Add a chapter to
the Admin Guide about routine maintenance tasks.  Currently this only
discusses the various reasons for doing VACUUM, but perhaps it could be
fleshed out with topics like log rotation.

23 years agoPlease pull this patch. It breaks JDBC1 support. The JDBC1 code no
Bruce Momjian [Sun, 26 Aug 2001 17:08:48 +0000 (17:08 +0000)]
Please pull this patch.  It breaks JDBC1 support.  The JDBC1 code no
longer compiles, due to objects being referenced in this patch that do
not exist in JDK1.1.

Barry Lind
---------------------------------------------------------------------------

The JDBC driver requires

  permission java.net.SocketPermission "host:port", "connect";

in the policy file of the application using the JDBC driver
in the postgresql.jar file.  Since the Socket() call in the
driver is not protected by AccessController.doPrivileged() this
permission must also be granted to the entire application.

23 years agoBack out "Remove outdated documentation section of ecpg." for Michael.
Bruce Momjian [Sun, 26 Aug 2001 17:04:02 +0000 (17:04 +0000)]
Back out "Remove outdated documentation section of ecpg." for Michael.

23 years agoTransaction IDs wrap around, per my proposal of 13-Aug-01. More
Tom Lane [Sun, 26 Aug 2001 16:56:03 +0000 (16:56 +0000)]
Transaction IDs wrap around, per my proposal of 13-Aug-01.  More
documentation to come, but the code is all here.  initdb forced.

23 years agoDocument single-letter createuser encryption options.
Bruce Momjian [Sun, 26 Aug 2001 04:20:36 +0000 (04:20 +0000)]
Document single-letter createuser encryption options.

23 years agoAdd single-letter encryption options for createuser. Update createuser --help.
Bruce Momjian [Sun, 26 Aug 2001 04:19:46 +0000 (04:19 +0000)]
Add single-letter encryption options for createuser.  Update createuser --help.

23 years agoPut createuser ENCRYPTED/UNENCRYPTED in the proper place in the query.
Bruce Momjian [Sun, 26 Aug 2001 03:46:58 +0000 (03:46 +0000)]
Put createuser ENCRYPTED/UNENCRYPTED in the proper place in the query.

23 years ago>>>>The JDBC driver requires
Bruce Momjian [Sun, 26 Aug 2001 01:06:20 +0000 (01:06 +0000)]
>>>>The JDBC driver requires
>>>>
>>>> permission java.net.SocketPermission "host:port", "connect";
>>>>
>>>>in the policy file of the application using the JDBC driver
>>>>in the postgresql.jar file.  Since the Socket() call in the
>>>>driver is not protected by AccessController.doPrivileged() this
>>>>permission must also be granted to the entire application.
>>>>
>>>>The attached diff fixes it so that the connect permission can be
>>>>restricted just the the postgresql.jar codeBase if desired.

David Daney

23 years agoHere is a patch to the resultmap to make the regression tests work on
Bruce Momjian [Sun, 26 Aug 2001 00:55:15 +0000 (00:55 +0000)]
Here is a patch to the resultmap to make the regression tests work on
OU8.

Larry Rosenman

23 years agoThe attached file: SerializePatch2.tgz, contains a patch for
Bruce Momjian [Sun, 26 Aug 2001 00:54:42 +0000 (00:54 +0000)]
The attached file: SerializePatch2.tgz, contains a patch for
org.postgresql.util.Serialize and org.postgresql.jdbc2.PreparedStatement
that  fixes the ability to "serialize" a simple java class into a
postgres table.

The current cvs seems completely broken in this support, so the patch
puts it  into working condition, granted that there are many limitations
with  serializing java classes into Postgres.

The code to do serialize appears to have been in the driver since
Postgres  6.4, according to some comments in the source.  My code is not
adding any  totally new ability to the driver, rather just fixing what
is there so that  it actually is usable.  I do not think that it should
affect any existing  functions of the driver that people regularly
depend on.

The code is activated if you use jdbc2.PreparedStatement and try to
setObject  some java class type that is unrecognized, like not String or
not some other  primitive type.  This will cause a sequence of function
calls that results in  an instance of Serialize being instantiated for
the class type passed.  The  Serialize constructor will query pg_class
to see if it can find an existing  table that matches the name of the
java class. If found, it will continue and  try to use the table to
store the object, otherwise an SQL exception is  thrown and no harm is
done.  Serialize.create() has to be used to setup the  table for a java
class before anything can really happen with this code other  than an
SQLException (unless by some freak chance a table exists that it  thinks
it can use).

I saw a difference in Serialize.java between 7.1.3 and 7.2devel that I
didn't  notice before, so I had to redo my changes from the 7.2devel
version (why I  had to resend this patch now).  I was missing the
fixString stuff, which is  nice and is imporant to ensure the inserts
will not fail due to embedded  single quote or unescaped backslashes. I
changed that fixString function in  Serialize just a little since there
is no need to muddle with escaping  newlines: only escaping single quote
and literal backslashes is needed.  Postgres appears to insert newlines
within strings without trouble.

23 years agoFix portability problem in new CLOG code, per report from Rene Pijlman.
Tom Lane [Sat, 25 Aug 2001 23:24:39 +0000 (23:24 +0000)]
Fix portability problem in new CLOG code, per report from Rene Pijlman.

23 years agoRe-apply Array.java patch to new Array.java file to fix compile.
Bruce Momjian [Sat, 25 Aug 2001 21:08:24 +0000 (21:08 +0000)]
Re-apply Array.java patch to new Array.java file to fix compile.

23 years agoReplace implementation of pg_log as a relation accessed through the
Tom Lane [Sat, 25 Aug 2001 18:52:43 +0000 (18:52 +0000)]
Replace implementation of pg_log as a relation accessed through the
buffer manager with 'pg_clog', a specialized access method modeled
on pg_xlog.  This simplifies startup (don't need to play games to
open pg_log; among other things, OverrideTransactionSystem goes away),
should improve performance a little, and opens the door to recycling
commit log space by removing no-longer-needed segments of the commit
log.  Actual recycling is not there yet, but I felt I should commit
this part separately since it'd still be useful if we chose not to
do transaction ID wraparound.

23 years agoAdd ENCRYPTED/UNENCRYPTED control in createuser script.
Bruce Momjian [Sat, 25 Aug 2001 17:46:11 +0000 (17:46 +0000)]
Add ENCRYPTED/UNENCRYPTED control in createuser script.

23 years agoAdd MD5 to win32.mak
Bruce Momjian [Sat, 25 Aug 2001 03:01:26 +0000 (03:01 +0000)]
Add MD5 to win32.mak

23 years agoAdd intended Array.java file that accidentally was patched into the
Bruce Momjian [Sat, 25 Aug 2001 01:35:45 +0000 (01:35 +0000)]
Add intended Array.java file that accidentally was patched into the
wrong directory.

23 years agoupdate from Serguei Mokhov
Peter Eisentraut [Sat, 25 Aug 2001 01:13:29 +0000 (01:13 +0000)]
update from Serguei Mokhov

23 years agoHide backend debug output in initdb by default. To that end, the bootstrap
Peter Eisentraut [Sat, 25 Aug 2001 00:31:17 +0000 (00:31 +0000)]
Hide backend debug output in initdb by default.  To that end, the bootstrap
backend gets on -o option like the regular backend.

23 years agoc.h needs to include postgres_ext.h to be self-contained.
Peter Eisentraut [Fri, 24 Aug 2001 22:46:28 +0000 (22:46 +0000)]
c.h needs to include postgres_ext.h to be self-contained.

23 years agoMissed this part in pg_config.h rename.
Peter Eisentraut [Fri, 24 Aug 2001 22:42:28 +0000 (22:42 +0000)]
Missed this part in pg_config.h rename.

23 years agoAdd ecpg --help and --version. Renumber the exit status codes, which were
Peter Eisentraut [Fri, 24 Aug 2001 22:37:36 +0000 (22:37 +0000)]
Add ecpg --help and --version.  Renumber the exit status codes, which were
documented wrong.

23 years agoStart adding some more documentation about the number types. Make
Peter Eisentraut [Fri, 24 Aug 2001 20:03:45 +0000 (20:03 +0000)]
Start adding some more documentation about the number types.  Make
bigserial and alias for serial8 for consistency with bigint/int8.

23 years agoReverse sense of comparison in psql socket test, per Tom Lane.
Bruce Momjian [Fri, 24 Aug 2001 19:59:54 +0000 (19:59 +0000)]
Reverse sense of comparison in psql socket test, per Tom Lane.

23 years agoRemove outdated documentation section of ecpg.
Bruce Momjian [Fri, 24 Aug 2001 18:08:25 +0000 (18:08 +0000)]
Remove outdated documentation section of ecpg.

23 years agoThere are two problems when compiling libpq.dll and psql.exe
Bruce Momjian [Fri, 24 Aug 2001 16:59:10 +0000 (16:59 +0000)]
There are two problems when compiling libpq.dll and psql.exe
on Windows. I'm not sure it is the best way to fix them
(see patch below.)

Mikhail Terekhov with mods by Tom Lane

23 years agoAttached is a patch to fix the current issues with building under jdbc1.
Bruce Momjian [Fri, 24 Aug 2001 16:50:18 +0000 (16:50 +0000)]
Attached is a patch to fix the current issues with building under jdbc1.
  This patch moves the logic that looks up TypeOid, PGTypeName, and
SQLTypeName from Field to Connection.  It is moved to connection since
it needs to differ from the jdbc1 to jdbc2 versions and Connection
already has different subclasses for the two driver versions.  It also
made sense to move the logic to Connection as some of the logic was
already there anyway.

Barry Lind

23 years agoRename config.h to pg_config.h and os.h to pg_config_os.h, fix a number of
Peter Eisentraut [Fri, 24 Aug 2001 14:07:50 +0000 (14:07 +0000)]
Rename config.h to pg_config.h and os.h to pg_config_os.h, fix a number of
places that were including the wrong files.

23 years agoEnsure that all TransactionId comparisons are encapsulated in macros
Tom Lane [Thu, 23 Aug 2001 23:06:38 +0000 (23:06 +0000)]
Ensure that all TransactionId comparisons are encapsulated in macros
(TransactionIdPrecedes, TransactionIdFollows, etc).  First step on the
way to transaction ID wrap solution ...

23 years agoMakefile forgot to install README.btree_gist.
Tom Lane [Thu, 23 Aug 2001 16:55:53 +0000 (16:55 +0000)]
Makefile forgot to install README.btree_gist.

23 years agoAdd chkpass.
Tom Lane [Thu, 23 Aug 2001 16:54:25 +0000 (16:54 +0000)]
Add chkpass.

23 years agoBring chkpass build process into sync with other contrib modules;
Tom Lane [Thu, 23 Aug 2001 16:50:33 +0000 (16:50 +0000)]
Bring chkpass build process into sync with other contrib modules;
make it use Makefile.shlib, etc.

23 years agoRemove test of 'inf' since it introduces a platform dependency (some
Tom Lane [Thu, 23 Aug 2001 15:10:17 +0000 (15:10 +0000)]
Remove test of 'inf' since it introduces a platform dependency (some
Unixen spell it 'Inf').  Not worth adding multiple expected files and
a resultmap just for this.

23 years agotskey_cmp() should use timestamp_cmp() instead of doing its own
Tom Lane [Thu, 23 Aug 2001 15:07:41 +0000 (15:07 +0000)]
tskey_cmp() should use timestamp_cmp() instead of doing its own
interval arithmetic.  From Teodor Sigaev.

23 years agoUpdate TODO list.
Bruce Momjian [Thu, 23 Aug 2001 14:42:05 +0000 (14:42 +0000)]
Update TODO list.

23 years agoAllow the return value of an SQL function to be binary-compatible with
Tom Lane [Thu, 23 Aug 2001 00:49:46 +0000 (00:49 +0000)]
Allow the return value of an SQL function to be binary-compatible with
the declared result type, rather than requiring exact type match as
before.  Per pghackers discusssion of 14-Aug.

23 years agoAdd option to output SET SESSION AUTHORIZATION commands rather than
Peter Eisentraut [Wed, 22 Aug 2001 20:23:24 +0000 (20:23 +0000)]
Add option to output SET SESSION AUTHORIZATION commands rather than
\connect, to avoid possible password prompts and such, at the drawback of
having to have superuser access.

23 years agoremove no longer needed -Wno-error
Peter Eisentraut [Wed, 22 Aug 2001 20:02:56 +0000 (20:02 +0000)]
remove no longer needed -Wno-error

23 years agoNew contrib module for BTREE emulation in GiST.
Tom Lane [Wed, 22 Aug 2001 18:27:54 +0000 (18:27 +0000)]
New contrib module for BTREE emulation in GiST.
From Oleg Bartunov and Teodor Sigaev.

23 years agoUpdate GiST for new pg_opclass arrangement (finally a clean solution
Tom Lane [Wed, 22 Aug 2001 18:24:26 +0000 (18:24 +0000)]
Update GiST for new pg_opclass arrangement (finally a clean solution
for haskeytype).  Update GiST contrib modules too.  Add linear-time split
algorithm for R-tree GiST opclass.
From Oleg Bartunov and Teodor Sigaev.

23 years agoPersuade new pgcrypto stuff to compile.
Tom Lane [Wed, 22 Aug 2001 18:19:59 +0000 (18:19 +0000)]
Persuade new pgcrypto stuff to compile.

23 years agoAttached is a simple one line patch for the problem reported in the
Bruce Momjian [Wed, 22 Aug 2001 13:20:06 +0000 (13:20 +0000)]
Attached is a simple one line patch for the problem reported in the
following email.

 > > The problem:  When I call getBigDecimal() on a ResultSet, it
 > > sometimes throws an exception:
 > >
 > >   Bad BigDecimal 174.50
 > >     at org.postgresql.jdbc2.ResultSet.getBigDecimal(ResultSet.java:373)
 > >     at org.postgresql.jdbc2.ResultSet.getBigDecimal(ResultSet.java:984)
 > >     ...blah blah blah...
 > >   org.postgresql.util.PSQLException: Bad BigDecimal 174.50

Barry Lind

23 years agoHere's a resend of the patch.gz. I gunzip'ed it fine here
Bruce Momjian [Tue, 21 Aug 2001 21:29:42 +0000 (21:29 +0000)]
Here's a resend of the patch.gz.  I gunzip'ed it fine here
so it may be a transit problem.  Also removed the 'txt' suffix
in case that was confusing some transport layer trying to be
too inteligent for our own good.

This may have been because the Array.java class from the
previous patch didn't seem to have made it into the snapshot
build for some reason.  This patch should at least fix that issue.

Greg Zoller

23 years agoRemove special-case treatment of all-zeroes MAC address, per today's
Tom Lane [Tue, 21 Aug 2001 21:23:21 +0000 (21:23 +0000)]
Remove special-case treatment of all-zeroes MAC address, per today's
discussion in pgsql-general.

23 years ago> Ok, where's a "system dependent hack" :)
Bruce Momjian [Tue, 21 Aug 2001 20:39:54 +0000 (20:39 +0000)]
> Ok, where's a "system dependent hack" :)
> It seems that win9x doesn't have the "netmsg.dll" so it defaults to "normal"
> FormatMessage.
> I wonder if one could load wsock32.dll or winsock.dll on those systems
> instead of netmsg.dll.
>
> Mikhail, could you please test this code on your nt4 system?
> Could someone else test this code on a win98/95 system?
>
> It works on win2k over here.

It works on win2k here too but not on win98/95 or winNT.
Anyway, attached is the patch which uses Magnus's my_sock_strerror
function (renamed to winsock_strerror). The only difference is that
I put the code to load and unload netmsg.dll in the libpqdll.c
(is this OK Magnus?).

Mikhail Terekhov

23 years agoRestructure pg_opclass, pg_amop, and pg_amproc per previous discussions in
Tom Lane [Tue, 21 Aug 2001 16:36:06 +0000 (16:36 +0000)]
Restructure pg_opclass, pg_amop, and pg_amproc per previous discussions in
pgsql-hackers.  pg_opclass now has a row for each opclass supported by each
index AM, not a row for each opclass name.  This allows pg_opclass to show
directly whether an AM supports an opclass, and furthermore makes it possible
to store additional information about an opclass that might be AM-dependent.
pg_opclass and pg_amop now store "lossy" and "haskeytype" information that we
previously expected the user to remember to provide in CREATE INDEX commands.
Lossiness is no longer an index-level property, but is associated with the
use of a particular operator in a particular index opclass.

Along the way, IndexSupportInitialize now uses the syscaches to retrieve
pg_amop and pg_amproc entries.  I find this reduces backend launch time by
about ten percent, at the cost of a couple more special cases in catcache.c's
IndexScanOK.

Initial work by Oleg Bartunov and Teodor Sigaev, further hacking by Tom Lane.

initdb forced.

23 years agoMove WAL params higher in file, next to fsync option.
Bruce Momjian [Tue, 21 Aug 2001 16:31:23 +0000 (16:31 +0000)]
Move WAL params higher in file, next to fsync option.

23 years agoAdd -Wno-error because of "unclean" flex output.
Peter Eisentraut [Tue, 21 Aug 2001 16:25:21 +0000 (16:25 +0000)]
Add -Wno-error because of "unclean" flex output.

23 years agoRegroup GEQO configs.
Bruce Momjian [Tue, 21 Aug 2001 16:15:31 +0000 (16:15 +0000)]
Regroup GEQO configs.

23 years agoFix SCM_CREDS for FreeBSD, from Teodor Sigaev.
Bruce Momjian [Tue, 21 Aug 2001 15:49:17 +0000 (15:49 +0000)]
Fix SCM_CREDS for FreeBSD, from Teodor Sigaev.

23 years agoAdd new jdbc array file.
Bruce Momjian [Tue, 21 Aug 2001 15:26:55 +0000 (15:26 +0000)]
Add new jdbc array file.

23 years agoAdd 0.2 version XML files.
Bruce Momjian [Tue, 21 Aug 2001 15:26:10 +0000 (15:26 +0000)]
Add 0.2 version XML files.

23 years agoAdd ECPGd_cardinality to end of enum list so ecpg compiles.
Bruce Momjian [Tue, 21 Aug 2001 15:24:07 +0000 (15:24 +0000)]
Add ECPGd_cardinality to end of enum list so ecpg compiles.

23 years agoAdd missing include for SCM_CREDS.
Bruce Momjian [Tue, 21 Aug 2001 15:21:25 +0000 (15:21 +0000)]
Add missing include for SCM_CREDS.

23 years agoFix SO_PEERCRED printf bug added with SCM_CREDS cleanup.
Bruce Momjian [Tue, 21 Aug 2001 14:48:19 +0000 (14:48 +0000)]
Fix SO_PEERCRED printf bug added with SCM_CREDS cleanup.

23 years agoRemove krb.c.
Bruce Momjian [Tue, 21 Aug 2001 12:50:18 +0000 (12:50 +0000)]
Remove krb.c.

23 years agoUpdate TODO list.
Bruce Momjian [Tue, 21 Aug 2001 11:07:48 +0000 (11:07 +0000)]
Update TODO list.

23 years agoUpdate FAQ.
Bruce Momjian [Tue, 21 Aug 2001 11:05:54 +0000 (11:05 +0000)]
Update FAQ.

23 years agoFix a lot of compile errors on unix.
Hiroshi Inoue [Tue, 21 Aug 2001 05:21:09 +0000 (05:21 +0000)]
Fix a lot of compile errors on unix.
Fix '\\' handling for bytea type.

23 years agoRemove encode.*. Not needed anymore.
Bruce Momjian [Tue, 21 Aug 2001 01:38:31 +0000 (01:38 +0000)]
Remove encode.*.  Not needed anymore.

23 years agoRemove object file.
Bruce Momjian [Tue, 21 Aug 2001 01:36:16 +0000 (01:36 +0000)]
Remove object file.

23 years agoAdd missing pgcrypto file.
Bruce Momjian [Tue, 21 Aug 2001 01:32:01 +0000 (01:32 +0000)]
Add missing pgcrypto file.

23 years ago/contrib/pgcrypto:
Bruce Momjian [Tue, 21 Aug 2001 00:42:41 +0000 (00:42 +0000)]
/contrib/pgcrypto:

* remove support for encode() as it is in main tree now
* remove krb5.c
* new 'PX library' architecture
* remove BSD license from my code to let the general
  PostgreSQL one to apply
* md5, sha1: ANSIfy, use const where appropriate
* various other formatting and clarity changes
* hmac()
* UN*X-like crypt() - system or internal crypt
* Internal crypt: DES, Extended DES, MD5, Blowfish
  crypt-des.c, crypt-md5.c from FreeBSD
  crypt-blowfish.c from Solar Designer
* gen_salt() for crypt() -  Blowfish, MD5, DES, Extended DES
* encrypt(), decrypt(), encrypt_iv(), decrypt_iv()
* Cipher support in mhash.c, openssl.c
* internal: Blowfish, Rijndael-128 ciphers
* blf.[ch], rijndael.[ch] from OpenBSD
* there will be generated file rijndael-tbl.inc.

Marko Kreen

23 years ago1. I've now produced an updated version (and called it 0.2) of my XML
Bruce Momjian [Tue, 21 Aug 2001 00:39:20 +0000 (00:39 +0000)]
1. I've now produced an updated version (and called it 0.2) of my XML
parser interface code. It now uses libxml2 instead of expat (though I've
left the old code in the tarball). This means *proper* XPath support, and
the provided function allows you to wrap your result set in XML tags to
produce a new XML document.

John Gray

23 years ago>
Bruce Momjian [Tue, 21 Aug 2001 00:37:23 +0000 (00:37 +0000)]
>
> Shouldn't
>
>    throw new PSQLException("metadata unavailable");
>
> in getTypeInfo() be something like:
>
>    throw new PSQLException("postgresql.meta.unavailable");
>
> to allow translation of the error message in the
> errors*.properties files?

You're right. Attached is an updated patch that also includes a message
in error.properties. I've attempted a French message in
errors_fr.properties but beware that I haven't written French in quite a
few years. Don't know Italian, German, or Dutch so I can't do those.

Liam Stewart

23 years agoUpdate XML author's email address.
Bruce Momjian [Tue, 21 Aug 2001 00:36:25 +0000 (00:36 +0000)]
Update XML author's email address.

23 years agoAdd SCM_CREDS to get owner of unix-domain socket on BSD-like systems.
Bruce Momjian [Tue, 21 Aug 2001 00:33:28 +0000 (00:33 +0000)]
Add SCM_CREDS to get owner of unix-domain socket on BSD-like systems.

23 years agoUpdate FAQ.
Bruce Momjian [Mon, 20 Aug 2001 20:37:19 +0000 (20:37 +0000)]
Update FAQ.

23 years agoOne more round of translations and slight message tweaks
Peter Eisentraut [Sun, 19 Aug 2001 22:17:03 +0000 (22:17 +0000)]
One more round of translations and slight message tweaks