Commit Graph

3965 Commits

Author SHA1 Message Date
Bruce Momjian a8428c9e3f More bsdi 4.0 cleanups for shared libraries. 1998-10-09 04:50:12 +00:00
Bruce Momjian 765dd1b3f2 More bsdi 4.0 fixes. 1998-10-09 04:22:49 +00:00
Bruce Momjian 4b86cabcb4 Cleanup of distclean. 1998-10-09 04:07:49 +00:00
Bruce Momjian af45dab6d7 Fix for BSDI shared libraries. 1998-10-09 03:08:00 +00:00
Bruce Momjian 76392f8cc4 Autoconf 1998-10-09 00:51:50 +00:00
Bruce Momjian db882f6a18 Cleanup of pl files. 1998-10-09 00:41:28 +00:00
Tom Lane 5524a85172 Clean up minor gcc warning about lack of reset_r_plans prototype. 1998-10-08 23:50:28 +00:00
Bruce Momjian 23815260a3 I have had a few problems with the PL stuff recently committed. The
following patches fix the problems (i.e., all regression tests pass)
in what I hope to be a platform-independent fashion.  The accomplish
the following:

Brook Milligan
1998-10-08 23:45:19 +00:00
Tom Lane 60fee725b8 Do not enable TCL_ARRAYS feature by default, because it
is wrong and dangerous unless you are using contrib/string.  We really
need a thorough look at the issue of making the backend and the FE/BE
protocols completely 8-bit-clean for string data, but that's a task
for some future release.
1998-10-08 23:31:20 +00:00
Bruce Momjian 2133276ecc Update to pgaccess 0.90. 1998-10-08 22:50:20 +00:00
Bruce Momjian 681343ab6c No need compile command/version.c anymore. 1998-10-08 18:37:14 +00:00
Bruce Momjian 173c555948 Make functions static or ifdef NOT_USED. Prevent pg_version creation. 1998-10-08 18:30:52 +00:00
Tom Lane 0a1c2805b3 libpgtcl.sgml still needs work, but at least there are
fewer errors than there were.
1998-10-08 03:23:03 +00:00
Bruce Momjian deaaf96975 Fix for INET type addition. 1998-10-08 02:08:47 +00:00
Tom Lane f1fef841c3 Grammar, my boy, grammar :-( 1998-10-08 01:28:58 +00:00
Tom Lane af5d6b4ef6 I'm too short of time to make these man pages look like the
newly-updated SGML reference pages, so I just inserted a comment that they
are obsolete.  If you want to transcribe the newer info into these pages,
be my guest.
1998-10-08 01:16:18 +00:00
Tom Lane 976625c54a I continue my quest to eliminate documentation that claims
a listen/notify condition name is a class or table name, 'cause it ain't.
1998-10-08 01:10:28 +00:00
Bruce Momjian ba0a1ae721 Add changelog. 1998-10-08 00:41:36 +00:00
Bruce Momjian 5d8d65e8b3 remove unused file. 1998-10-08 00:39:11 +00:00
Bruce Momjian 25b5faa7cd Just a quick patch. This makes the JDBC driver thread safe, which is an
important step towards making the driver compliant, and means that for
some Java applications and servlets, only a single database connection
is
needed, so in a sence this is a nice little show stopper for 6.4 (and
should still be backward compatible to 6.3.2).

Peter
1998-10-08 00:38:21 +00:00
Bruce Momjian 9042e9d757 Cleanup for snprintf for long long's. 1998-10-08 00:34:47 +00:00
Tom Lane ad567f07be Link unlisten.sgml into what I hope are the right places. 1998-10-08 00:19:49 +00:00
Bruce Momjian 8849655d24 I agree. I think, though, that the best argument presented in the
debate was from Paul Vixie, who wanted INET to be the name covering
both IPV4 and IPV6.  The following kit makes the needed changes:

Tom Ivar Helbekkmo
1998-10-08 00:19:47 +00:00
Tom Lane ac5a8b9ab5 And some UNLISTEN doco too! 1998-10-08 00:19:13 +00:00
Tom Lane 55a5639e93 LISTEN/NOTIFY doc improvements. 1998-10-08 00:18:31 +00:00
Bruce Momjian 30debec6e5 Hello!
Here are two new patches for the Win32 support.

1) The patch based on the one from Hiroshi Inoue [Inoue@tpf.co.jp], to
load
Winsock.dll from libpq.dll.
2) A patch for psql.c to remove the call to WSAStartup(), since it is
not
required when it's done in libpq.dll.

I'm still looking for the possibility of having a crypt() function in
libpq.dll too, the same way getopt was included. Any chance of getting
this
before 6.4, or should we wait for the next one?


//Magnus
1998-10-08 00:10:49 +00:00
Bruce Momjian cb4292ea64 vacuum cleanups 1998-10-07 22:31:50 +00:00
Bruce Momjian 9549a8cd7d Fix snprintf.c for machines that don't have long long, like some Irix. 1998-10-07 17:12:52 +00:00
Thomas G. Lockhart 7d4b59f024 Use the $(LN_S) substitution for "ln -s" since configure tests for it. 1998-10-07 06:50:37 +00:00
Thomas G. Lockhart ed24461ca1 Clean up for configuration from the Postgres main configure script.
Use @top-srcdir@ to find the right Makefile.global and use ODBCSRCDIR
 to point to this local directory.
Move non-platform-specific stuff to outside the if clauses.
Still need to move all platform-specific stuff to the templates.
1998-10-07 06:49:22 +00:00
Thomas G. Lockhart fca4519d5b Add conditional compilation of the ODBC directory.
Requires --with-odbc specified in the standalone configure.
1998-10-07 06:41:40 +00:00
Thomas G. Lockhart effb32c307 Add a few items to support an integrated build of the ODBC interface. 1998-10-07 06:39:30 +00:00
Thomas G. Lockhart 608dbb1b3e Separate out the lextest so that it is run by "make" and "make install".
Before, "make install" did not run the lextest.
Fix up the ODBC make from this main configure.
Include configure test for "ln -s" in Makefile.global.in.
 Was always in configure, just not carried through to here for use.
1998-10-07 06:38:29 +00:00
Bruce Momjian 3e66e2b17b make lock variable only used with fcntl 1998-10-07 03:45:12 +00:00
Bruce Momjian 252568dc11 Update pg_dump sgml and manuals to remove rule restriction. 1998-10-07 02:49:10 +00:00
Bruce Momjian 803204bd1e Playing around with pg_dump for a while resulted in some
fixes,  enhancements and some found bugs not yet fixed. After
    all I was able to get useful results  when  dumping/reloading
    the regression database.

Jan
1998-10-06 22:14:21 +00:00
Tom Lane 57d57d9500 Took it on myself to change libpq's sharedlib version number from
1.1 to 2.0 for this release.  The other frontend shlibs need version
number bumps too, but I think a minor version number change will do for them.
1998-10-06 14:22:12 +00:00
Tom Lane fe91cd41ea If we're going to offer a default definition of PQmblen,
it probably ought to actually work.
1998-10-06 14:16:50 +00:00
Tom Lane a4fd4cdc0d Re-apply fix stomped on by someone else's patch. Tsk, tsk. 1998-10-06 14:05:02 +00:00
Thomas G. Lockhart 1eab86e26d Update source code to Byron's v6.30.0250 sources plus minor cleanup
to get rid of unused variables.
Get clean compile on Linux (Thomas and Gerald).
Implement autoconf/configure for standalone builds and use the existing
 autoconf/configure system when in the Postgres source tree.
Code tests and functions with ApplixWare-4.4.1beta on a Linux box.
Changes should be backward compatible with WIN32 but still needs testing.
1998-10-06 05:58:41 +00:00
Thomas G. Lockhart dfde7f14f0 Install man pages from here now. "make install" will do that along with
the html/ps material...
1998-10-06 05:44:05 +00:00
Thomas G. Lockhart 72129e98ce Try to configure interfaces/odbc using the --with-odbc switch.
Suppress installing man pages from here; do it from the doc/Makefile now.
1998-10-06 05:42:58 +00:00
Thomas G. Lockhart b53d36618f Forgot to initialize double quote option to be enabled. 1998-10-06 05:35:42 +00:00
Thomas G. Lockhart fe9bf46bd4 Add mention of the new "suppress double quotes" command line option "-n". 1998-10-06 05:05:48 +00:00
Bruce Momjian 237e0a6306 Fix for double free from Tatsuo Ishii 1998-10-06 03:55:43 +00:00
Bruce Momjian 3abf496b8e > > There is a bug in check_foreign_key of refint.c which is bundled with
> > the standard distribution. It occurs when a trigger calling this
> > function recursively fires another trigger which calls the same
> > function. The calling check_foreign_key loses its plan informantion and
> > when it tries to use it the backend closes its channel. You can check it
> > with the sql script I am attaching below.
> > The solution to this is to do a find_plan again before executing it at
> > line 483 of refint.c.
> > Therefore two more lines should be added before line 483:

Anand Surelia
1998-10-06 03:12:59 +00:00
Bruce Momjian b7ed6f8512 Hi all
Is it too late to add a feature to pg_dump for 6.4??

I just spent most of the day learning pg_dump and modifing it so it
would
dump views also.

This is the first time I have ever contributed any code changes, so I'm
not sure of how to submit it.

The diff's and a readme as a tgz file are attached.

Thanks
Terry Mackintosh <terry@terrym.com>          http://www.terrym.com
1998-10-06 03:09:02 +00:00
Bruce Momjian e1ebac319d Here are the patches against the current source tree. I have run the
regression test on a FreeBSD box with both non-MULTIBYTE and
MULTIBYTE-enabled, and confirmed that the results are same.

However I do not tested on PCs(I don't have access to win). Please let
me know if the patches break anything on PCs.

Also please note that the patch for varchar.c is a fix for a nasty bug
of char(n) types that I introduced and I believe at least this should
be applied.

Tatsuo Ishii
1998-10-06 03:02:29 +00:00
Tom Lane c77a29a14e Substantial rewrite of async.c to avoid problems with non-reentrant stdio
and possibly other problems.  Minor changes in xact.c and postgres.c's
main loop to support new handling of async NOTIFY.
1998-10-06 02:40:09 +00:00
Tom Lane e7e027a6c9 Add configure test to make sure fcntl(SETLK) is available. 1998-10-06 02:32:28 +00:00