OSDN Git Service

pg-rex/syncrep.git
25 years agoThis is plain wrong, but check to see if DataDir was set *before* running
Marc G. Fournier [Tue, 13 Oct 1998 20:05:44 +0000 (20:05 +0000)]
This is plain wrong, but check to see if DataDir was set *before* running
read_pg_options ... read_pg_options should probably be moved to after the
getopt() instead?

25 years agocase statement in select call was missing a break...
Marc G. Fournier [Tue, 13 Oct 1998 19:51:50 +0000 (19:51 +0000)]
case statement in select call was missing a break...

25 years agochange configure so that if postgresql isn't being installed as root,
Marc G. Fournier [Tue, 13 Oct 1998 17:26:50 +0000 (17:26 +0000)]
change configure so that if postgresql isn't being installed as root,
do not configure in the perl5 interface.

the perl5 interface needs to be installed under /usr/local/lib/perl5/*, which
is generally owned by root.  This allows a non-root build/install with the
only root requirement being the make/install of hte perl5 stuff...

25 years agoauytoconf
Bruce Momjian [Tue, 13 Oct 1998 16:34:01 +0000 (16:34 +0000)]
auytoconf

25 years agoRemove TCL_LIB,TCL_INCDIR,TK_LIB,TK_INCDIR.
Bruce Momjian [Tue, 13 Oct 1998 16:30:49 +0000 (16:30 +0000)]
Remove TCL_LIB,TCL_INCDIR,TK_LIB,TK_INCDIR.

25 years agoRemove the -soname ${SHLIB} from solaris_{sparc,x86} as they conflict
Marc G. Fournier [Tue, 13 Oct 1998 14:12:22 +0000 (14:12 +0000)]
Remove the -soname ${SHLIB} from solaris_{sparc,x86} as they conflict
with the -o $@ used in the ${SHLIB} directive, causing a failure for
*at least* gcc2.8.1 + Solaris 2.6 under both hardware platforms...

25 years agoautoconf
Bruce Momjian [Mon, 12 Oct 1998 19:56:24 +0000 (19:56 +0000)]
autoconf

25 years agoTCL_LIB/TCL_INCDIR cleanup.
Bruce Momjian [Mon, 12 Oct 1998 19:47:25 +0000 (19:47 +0000)]
TCL_LIB/TCL_INCDIR cleanup.

25 years agoTCL_LIB.
Bruce Momjian [Mon, 12 Oct 1998 19:45:03 +0000 (19:45 +0000)]
TCL_LIB.

25 years agoFix for inet from Tom H.
Bruce Momjian [Mon, 12 Oct 1998 15:56:34 +0000 (15:56 +0000)]
Fix for inet from Tom H.

25 years agoNo more TCL_LIB>
Bruce Momjian [Mon, 12 Oct 1998 15:01:40 +0000 (15:01 +0000)]
No more TCL_LIB>

25 years agoautoconf
Bruce Momjian [Mon, 12 Oct 1998 14:44:46 +0000 (14:44 +0000)]
autoconf

25 years agoFix for Solaris/i386.
Bruce Momjian [Mon, 12 Oct 1998 14:41:45 +0000 (14:41 +0000)]
Fix for Solaris/i386.

25 years agoFix for version.c warning.
Bruce Momjian [Mon, 12 Oct 1998 05:09:55 +0000 (05:09 +0000)]
Fix for version.c warning.

25 years agodistclean fixup
Bruce Momjian [Mon, 12 Oct 1998 05:07:53 +0000 (05:07 +0000)]
distclean fixup

25 years agoAdd mklang.sh.in to plpgsql.
Bruce Momjian [Mon, 12 Oct 1998 04:55:03 +0000 (04:55 +0000)]
Add mklang.sh.in to plpgsql.

25 years agoCleanup from Billy.
Bruce Momjian [Mon, 12 Oct 1998 04:45:22 +0000 (04:45 +0000)]
Cleanup from Billy.

25 years agoTCL_LIB, TCL_INC not used.
Bruce Momjian [Mon, 12 Oct 1998 04:40:48 +0000 (04:40 +0000)]
TCL_LIB, TCL_INC not used.

25 years agotcl cleanup.
Bruce Momjian [Mon, 12 Oct 1998 04:32:24 +0000 (04:32 +0000)]
tcl cleanup.

25 years agoautoconf
Bruce Momjian [Mon, 12 Oct 1998 04:11:03 +0000 (04:11 +0000)]
autoconf

25 years agoNew INET functions from D'Arcy J.M. Cain
Bruce Momjian [Mon, 12 Oct 1998 04:07:53 +0000 (04:07 +0000)]
New INET functions from D'Arcy J.M. Cain

25 years agoThis patch updates the ImageViewer example to use Multiple Threading.
Bruce Momjian [Mon, 12 Oct 1998 02:45:45 +0000 (02:45 +0000)]
This patch updates the ImageViewer example to use Multiple Threading.

When importing an image into the database, the example now fires off a
new
Thread, which imports the image in the background. This also means that
the application doesn't freeze on the user, and they can still browse
the
images in the database, while the upload is running.

This now makes the ImageViewer a true example on how to use Threads (the
threadtest class is just that - a test).

Peter

25 years agoplpgsql fixes from Billy G. Allie
Bruce Momjian [Mon, 12 Oct 1998 02:44:10 +0000 (02:44 +0000)]
plpgsql fixes from Billy G. Allie

25 years agoadd new file.
Bruce Momjian [Mon, 12 Oct 1998 02:42:22 +0000 (02:42 +0000)]
add new file.

25 years agoTcl fixes from Billy G. Allie
Bruce Momjian [Mon, 12 Oct 1998 02:41:01 +0000 (02:41 +0000)]
Tcl fixes from Billy G. Allie

25 years ago2) Can't dump/restore varchar fields (See attached bug report/patch)
Bruce Momjian [Mon, 12 Oct 1998 02:05:42 +0000 (02:05 +0000)]
2) Can't dump/restore varchar fields (See attached bug report/patch)

Cary B. O'Brien

25 years agoautoconf
Bruce Momjian [Mon, 12 Oct 1998 02:01:41 +0000 (02:01 +0000)]
autoconf

25 years agoCleanup.
Bruce Momjian [Mon, 12 Oct 1998 01:58:14 +0000 (01:58 +0000)]
Cleanup.

25 years agoFix for inet_net_pton() from Tom.
Bruce Momjian [Mon, 12 Oct 1998 01:30:26 +0000 (01:30 +0000)]
Fix for inet_net_pton() from Tom.

25 years agoMore Solaris fixes.
Bruce Momjian [Mon, 12 Oct 1998 01:23:29 +0000 (01:23 +0000)]
More Solaris fixes.

25 years agoAdd SVr4 shared libraries.
Bruce Momjian [Mon, 12 Oct 1998 01:10:09 +0000 (01:10 +0000)]
Add SVr4 shared libraries.

25 years agoSolaris shared library fixes.
Bruce Momjian [Mon, 12 Oct 1998 01:04:02 +0000 (01:04 +0000)]
Solaris shared library fixes.

25 years agoFix for vacuum and cache use. Fix for BSDI 4.0.
Bruce Momjian [Mon, 12 Oct 1998 00:53:42 +0000 (00:53 +0000)]
Fix for vacuum and cache use.  Fix for BSDI 4.0.

25 years agoAdd new "-n" flag to pg_dump.
Thomas G. Lockhart [Sat, 10 Oct 1998 17:13:47 +0000 (17:13 +0000)]
Add new "-n" flag to pg_dump.
Update UNLISTEN to not require double-quotes around the wildcard argument.
Clean up markup.

25 years agoClean up markup.
Thomas G. Lockhart [Sat, 10 Oct 1998 17:12:18 +0000 (17:12 +0000)]
Clean up markup.
Add new bibliographic references from Paul Aoki.
Include libpq++ docs from the old man page in the Programmer's Guide.
Update Unix installation info for ODBC.

25 years agoMove documentation to sgml sources, so remove man page installation.
Thomas G. Lockhart [Sat, 10 Oct 1998 17:08:11 +0000 (17:08 +0000)]
Move documentation to sgml sources, so remove man page installation.

25 years agoMove documentation to sgml sources.
Thomas G. Lockhart [Sat, 10 Oct 1998 17:07:16 +0000 (17:07 +0000)]
Move documentation to sgml sources.

25 years agoshared library instructions.
Bruce Momjian [Sat, 10 Oct 1998 03:08:02 +0000 (03:08 +0000)]
shared library instructions.

25 years agoNew shared library mentions.
Bruce Momjian [Fri, 9 Oct 1998 21:41:36 +0000 (21:41 +0000)]
New shared library mentions.

25 years agoReverse out vacuum change.
Bruce Momjian [Fri, 9 Oct 1998 21:31:34 +0000 (21:31 +0000)]
Reverse out vacuum change.

25 years agomajor/minor shared name cleanup
Bruce Momjian [Fri, 9 Oct 1998 21:28:50 +0000 (21:28 +0000)]
major/minor shared name cleanup

25 years agoRecommend ldconfig on any ELF.
Bruce Momjian [Fri, 9 Oct 1998 19:53:10 +0000 (19:53 +0000)]
Recommend ldconfig on any ELF.

25 years agoautoconf
Bruce Momjian [Fri, 9 Oct 1998 17:34:57 +0000 (17:34 +0000)]
autoconf

25 years agoconfigure cleanup
Bruce Momjian [Fri, 9 Oct 1998 17:31:39 +0000 (17:31 +0000)]
configure cleanup

25 years agoautoconf
Bruce Momjian [Fri, 9 Oct 1998 16:59:43 +0000 (16:59 +0000)]
autoconf

25 years ago There where a few more problems fixed by the patch below.
Bruce Momjian [Fri, 9 Oct 1998 16:57:10 +0000 (16:57 +0000)]
There where a few more problems fixed by the patch below.

      o configure.in

Jan.

25 years agoFix for version() string overwrite.
Bruce Momjian [Fri, 9 Oct 1998 16:42:32 +0000 (16:42 +0000)]
Fix for version() string overwrite.

25 years agoAdd wildcard asterisk to the UNLISTEN syntax.
Thomas G. Lockhart [Fri, 9 Oct 1998 07:06:37 +0000 (07:06 +0000)]
Add wildcard asterisk to the UNLISTEN syntax.

25 years agoChanges to support standalone installation.
Thomas G. Lockhart [Fri, 9 Oct 1998 07:04:53 +0000 (07:04 +0000)]
Changes to support standalone installation.

25 years agoAdjustments for standalone and integrated ODBC.
Thomas G. Lockhart [Fri, 9 Oct 1998 07:01:26 +0000 (07:01 +0000)]
Adjustments for standalone and integrated ODBC.

25 years agoMore bsdi 4.0 cleanups for shared libraries.
Bruce Momjian [Fri, 9 Oct 1998 04:50:12 +0000 (04:50 +0000)]
More bsdi 4.0 cleanups for shared libraries.

25 years agoMore bsdi 4.0 fixes.
Bruce Momjian [Fri, 9 Oct 1998 04:22:49 +0000 (04:22 +0000)]
More bsdi 4.0 fixes.

25 years agoCleanup of distclean.
Bruce Momjian [Fri, 9 Oct 1998 04:07:49 +0000 (04:07 +0000)]
Cleanup of distclean.

25 years agoFix for BSDI shared libraries.
Bruce Momjian [Fri, 9 Oct 1998 03:08:00 +0000 (03:08 +0000)]
Fix for BSDI shared libraries.

25 years agoAutoconf
Bruce Momjian [Fri, 9 Oct 1998 00:51:50 +0000 (00:51 +0000)]
Autoconf

25 years agoCleanup of pl files.
Bruce Momjian [Fri, 9 Oct 1998 00:41:28 +0000 (00:41 +0000)]
Cleanup of pl files.

25 years agoClean up minor gcc warning about lack of reset_r_plans prototype.
Tom Lane [Thu, 8 Oct 1998 23:50:28 +0000 (23:50 +0000)]
Clean up minor gcc warning about lack of reset_r_plans prototype.

25 years agoI have had a few problems with the PL stuff recently committed. The
Bruce Momjian [Thu, 8 Oct 1998 23:45:19 +0000 (23:45 +0000)]
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

25 years agoDo not enable TCL_ARRAYS feature by default, because it
Tom Lane [Thu, 8 Oct 1998 23:31:20 +0000 (23:31 +0000)]
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.

25 years agoUpdate to pgaccess 0.90.
Bruce Momjian [Thu, 8 Oct 1998 22:50:20 +0000 (22:50 +0000)]
Update to pgaccess 0.90.

25 years agoNo need compile command/version.c anymore.
Bruce Momjian [Thu, 8 Oct 1998 18:37:14 +0000 (18:37 +0000)]
No need compile command/version.c anymore.

25 years agoMake functions static or ifdef NOT_USED. Prevent pg_version creation.
Bruce Momjian [Thu, 8 Oct 1998 18:30:52 +0000 (18:30 +0000)]
Make functions static or ifdef NOT_USED.  Prevent pg_version creation.

25 years agolibpgtcl.sgml still needs work, but at least there are
Tom Lane [Thu, 8 Oct 1998 03:23:03 +0000 (03:23 +0000)]
libpgtcl.sgml still needs work, but at least there are
fewer errors than there were.

25 years agoFix for INET type addition.
Bruce Momjian [Thu, 8 Oct 1998 02:08:47 +0000 (02:08 +0000)]
Fix for INET type addition.

25 years agoGrammar, my boy, grammar :-(
Tom Lane [Thu, 8 Oct 1998 01:28:58 +0000 (01:28 +0000)]
Grammar, my boy, grammar :-(

25 years agoI'm too short of time to make these man pages look like the
Tom Lane [Thu, 8 Oct 1998 01:16:18 +0000 (01:16 +0000)]
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.

25 years agoI continue my quest to eliminate documentation that claims
Tom Lane [Thu, 8 Oct 1998 01:10:28 +0000 (01:10 +0000)]
I continue my quest to eliminate documentation that claims
a listen/notify condition name is a class or table name, 'cause it ain't.

25 years agoAdd changelog.
Bruce Momjian [Thu, 8 Oct 1998 00:41:36 +0000 (00:41 +0000)]
Add changelog.

25 years agoremove unused file.
Bruce Momjian [Thu, 8 Oct 1998 00:39:11 +0000 (00:39 +0000)]
remove unused file.

25 years agoJust a quick patch. This makes the JDBC driver thread safe, which is an
Bruce Momjian [Thu, 8 Oct 1998 00:38:21 +0000 (00:38 +0000)]
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

25 years agoCleanup for snprintf for long long's.
Bruce Momjian [Thu, 8 Oct 1998 00:34:47 +0000 (00:34 +0000)]
Cleanup for snprintf for long long's.

25 years agoLink unlisten.sgml into what I hope are the right places.
Tom Lane [Thu, 8 Oct 1998 00:19:49 +0000 (00:19 +0000)]
Link unlisten.sgml into what I hope are the right places.

25 years agoI agree. I think, though, that the best argument presented in the
Bruce Momjian [Thu, 8 Oct 1998 00:19:47 +0000 (00:19 +0000)]
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

25 years agoAnd some UNLISTEN doco too!
Tom Lane [Thu, 8 Oct 1998 00:19:13 +0000 (00:19 +0000)]
And some UNLISTEN doco too!

25 years agoLISTEN/NOTIFY doc improvements.
Tom Lane [Thu, 8 Oct 1998 00:18:31 +0000 (00:18 +0000)]
LISTEN/NOTIFY doc improvements.

25 years agoHello!
Bruce Momjian [Thu, 8 Oct 1998 00:10:49 +0000 (00:10 +0000)]
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

25 years agovacuum cleanups
Bruce Momjian [Wed, 7 Oct 1998 22:31:50 +0000 (22:31 +0000)]
vacuum cleanups

25 years agoFix snprintf.c for machines that don't have long long, like some Irix.
Bruce Momjian [Wed, 7 Oct 1998 17:12:52 +0000 (17:12 +0000)]
Fix snprintf.c for machines that don't have long long, like some Irix.

25 years agoUse the $(LN_S) substitution for "ln -s" since configure tests for it.
Thomas G. Lockhart [Wed, 7 Oct 1998 06:50:37 +0000 (06:50 +0000)]
Use the $(LN_S) substitution for "ln -s" since configure tests for it.

25 years agoClean up for configuration from the Postgres main configure script.
Thomas G. Lockhart [Wed, 7 Oct 1998 06:49:22 +0000 (06:49 +0000)]
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.

25 years agoAdd conditional compilation of the ODBC directory.
Thomas G. Lockhart [Wed, 7 Oct 1998 06:41:40 +0000 (06:41 +0000)]
Add conditional compilation of the ODBC directory.
 Requires --with-odbc specified in the standalone configure.

25 years agoAdd a few items to support an integrated build of the ODBC interface.
Thomas G. Lockhart [Wed, 7 Oct 1998 06:39:30 +0000 (06:39 +0000)]
Add a few items to support an integrated build of the ODBC interface.

25 years agoSeparate out the lextest so that it is run by "make" and "make install".
Thomas G. Lockhart [Wed, 7 Oct 1998 06:38:29 +0000 (06:38 +0000)]
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.

25 years agomake lock variable only used with fcntl
Bruce Momjian [Wed, 7 Oct 1998 03:45:12 +0000 (03:45 +0000)]
make lock variable only used with fcntl

25 years agoUpdate pg_dump sgml and manuals to remove rule restriction.
Bruce Momjian [Wed, 7 Oct 1998 02:49:10 +0000 (02:49 +0000)]
Update pg_dump sgml and manuals to remove rule restriction.

25 years ago Playing around with pg_dump for a while resulted in some
Bruce Momjian [Tue, 6 Oct 1998 22:14:21 +0000 (22:14 +0000)]
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

25 years agoTook it on myself to change libpq's sharedlib version number from
Tom Lane [Tue, 6 Oct 1998 14:22:12 +0000 (14:22 +0000)]
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.

25 years agoIf we're going to offer a default definition of PQmblen,
Tom Lane [Tue, 6 Oct 1998 14:16:50 +0000 (14:16 +0000)]
If we're going to offer a default definition of PQmblen,
it probably ought to actually work.

25 years agoRe-apply fix stomped on by someone else's patch. Tsk, tsk.
Tom Lane [Tue, 6 Oct 1998 14:05:02 +0000 (14:05 +0000)]
Re-apply fix stomped on by someone else's patch.  Tsk, tsk.

25 years agoUpdate source code to Byron's v6.30.0250 sources plus minor cleanup
Thomas G. Lockhart [Tue, 6 Oct 1998 05:58:41 +0000 (05:58 +0000)]
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.

25 years agoInstall man pages from here now. "make install" will do that along with
Thomas G. Lockhart [Tue, 6 Oct 1998 05:44:05 +0000 (05:44 +0000)]
Install man pages from here now. "make install" will do that along with
the html/ps material...

25 years agoTry to configure interfaces/odbc using the --with-odbc switch.
Thomas G. Lockhart [Tue, 6 Oct 1998 05:42:58 +0000 (05:42 +0000)]
Try to configure interfaces/odbc using the --with-odbc switch.
Suppress installing man pages from here; do it from the doc/Makefile now.

25 years agoForgot to initialize double quote option to be enabled.
Thomas G. Lockhart [Tue, 6 Oct 1998 05:35:42 +0000 (05:35 +0000)]
Forgot to initialize double quote option to be enabled.

25 years agoAdd mention of the new "suppress double quotes" command line option "-n".
Thomas G. Lockhart [Tue, 6 Oct 1998 05:05:48 +0000 (05:05 +0000)]
Add mention of the new "suppress double quotes" command line option "-n".

25 years agoFix for double free from Tatsuo Ishii
Bruce Momjian [Tue, 6 Oct 1998 03:55:43 +0000 (03:55 +0000)]
Fix for double free from Tatsuo Ishii

25 years ago> > There is a bug in check_foreign_key of refint.c which is bundled with
Bruce Momjian [Tue, 6 Oct 1998 03:12:59 +0000 (03:12 +0000)]
> > 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

25 years agoHi all
Bruce Momjian [Tue, 6 Oct 1998 03:09:02 +0000 (03:09 +0000)]
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

25 years agoHere are the patches against the current source tree. I have run the
Bruce Momjian [Tue, 6 Oct 1998 03:02:29 +0000 (03:02 +0000)]
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

25 years agoSubstantial rewrite of async.c to avoid problems with non-reentrant stdio
Tom Lane [Tue, 6 Oct 1998 02:40:09 +0000 (02:40 +0000)]
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.

25 years agoAdd configure test to make sure fcntl(SETLK) is available.
Tom Lane [Tue, 6 Oct 1998 02:32:28 +0000 (02:32 +0000)]
Add configure test to make sure fcntl(SETLK) is available.