OSDN Git Service

pg-rex/syncrep.git
27 years agoThe routines in magic.c have moved to the more accessible version.c.
Bryan Henderson [Tue, 19 Nov 1996 02:55:37 +0000 (02:55 +0000)]
The routines in magic.c have moved to the more accessible version.c.

27 years agoEliminate mk/ directory. The tyranny of the included make file templates is
Bryan Henderson [Tue, 19 Nov 1996 02:52:21 +0000 (02:52 +0000)]
Eliminate mk/ directory.  The tyranny of the included make file templates is
ended!

27 years agoBuild man/ instead of ../doc. Man pages have moved there.
Bryan Henderson [Tue, 19 Nov 1996 02:43:46 +0000 (02:43 +0000)]
Build man/ instead of ../doc.  Man pages have moved there.

27 years agoAdded DLSUFFIX to bsdi.
Bruce Momjian [Mon, 18 Nov 1996 16:32:53 +0000 (16:32 +0000)]
Added DLSUFFIX to bsdi.

27 years agoRename SLSUFF to DLSUFFIX
Bruce Momjian [Mon, 18 Nov 1996 06:07:56 +0000 (06:07 +0000)]
Rename SLSUFF to DLSUFFIX

27 years agoInclude some macros that used to be -D options in Makefile.global.
Bryan Henderson [Mon, 18 Nov 1996 02:27:27 +0000 (02:27 +0000)]
Include some macros that used to be -D options in Makefile.global.

27 years agoRemove linux define of __USE_POSIX, which doesn't appear to do anything.
Bryan Henderson [Mon, 18 Nov 1996 02:26:57 +0000 (02:26 +0000)]
Remove linux define of __USE_POSIX, which doesn't appear to do anything.

27 years agoAdd comments about the diversity of signal functionality. Came from
Bryan Henderson [Mon, 18 Nov 1996 02:25:09 +0000 (02:25 +0000)]
Add comments about the diversity of signal functionality.  Came from
Makefile.global.

27 years agoMake port-specific link libraries defined for linking backend more global
Bryan Henderson [Mon, 18 Nov 1996 02:23:41 +0000 (02:23 +0000)]
Make port-specific link libraries defined for linking backend more global
so you can also link pgtclsh.

27 years agoQuiet compiler warnings about missing prototypes in Linux's bitops.h.
Bryan Henderson [Mon, 18 Nov 1996 01:45:44 +0000 (01:45 +0000)]
Quiet compiler warnings about missing prototypes in Linux's bitops.h.

27 years agoQuiet compiler warnings, ignore the ones we can't.
Bryan Henderson [Mon, 18 Nov 1996 01:44:28 +0000 (01:44 +0000)]
Quiet compiler warnings, ignore the ones we can't.

27 years agoIgnore compiler warnings, because we can't escape "abstract declarator used
Bryan Henderson [Mon, 18 Nov 1996 01:43:55 +0000 (01:43 +0000)]
Ignore compiler warnings, because we can't escape "abstract declarator used
as declaration".

27 years agoRenamed file. Restored SLSUFF to .so.
Bruce Momjian [Sun, 17 Nov 1996 20:30:32 +0000 (20:30 +0000)]
Renamed file.  Restored SLSUFF to .so.

27 years agoEnable manual pages to be installed.
Bruce Momjian [Sun, 17 Nov 1996 19:40:15 +0000 (19:40 +0000)]
Enable manual pages to be installed.

27 years agoCopy needed include files into standard directory.
Bruce Momjian [Sun, 17 Nov 1996 19:27:38 +0000 (19:27 +0000)]
Copy needed include files into standard directory.

27 years agoChange SLSUFF from .so to .o as default.
Bruce Momjian [Sun, 17 Nov 1996 19:26:44 +0000 (19:26 +0000)]
Change SLSUFF from .so to .o as default.

27 years agoNew backend directory description file.
Bruce Momjian [Sun, 17 Nov 1996 05:26:57 +0000 (05:26 +0000)]
New backend directory description file.

27 years agoFix for -da option of pg_dump.
Bruce Momjian [Sun, 17 Nov 1996 04:56:16 +0000 (04:56 +0000)]
Fix for -da option of pg_dump.

27 years agoFix for return code of psql in manual.
Bruce Momjian [Sun, 17 Nov 1996 04:27:34 +0000 (04:27 +0000)]
Fix for return code of psql in manual.

27 years agoFix for error when viewing group access privs.
Bruce Momjian [Sun, 17 Nov 1996 04:26:59 +0000 (04:26 +0000)]
Fix for error when viewing group access privs.

27 years agoFix for Alter TABLE add column varchar(). Was causing zero length.
Bruce Momjian [Sun, 17 Nov 1996 04:23:10 +0000 (04:23 +0000)]
Fix for Alter TABLE add column varchar().  Was causing zero length.

27 years agoFix syntax errors so it runs without error messages.
Bryan Henderson [Sun, 17 Nov 1996 03:55:07 +0000 (03:55 +0000)]
Fix syntax errors so it runs without error messages.

27 years agoRemove old GetPGData reference that causes warning.
Bryan Henderson [Sat, 16 Nov 1996 09:03:44 +0000 (09:03 +0000)]
Remove old GetPGData reference that causes warning.

27 years agoAdd #include <sys/types.h> so it works with Ultrix's in.h
Bryan Henderson [Sat, 16 Nov 1996 08:09:16 +0000 (08:09 +0000)]
Add #include <sys/types.h> so it works with Ultrix's in.h

27 years agoAdded documentation on new unique index capability.
Bruce Momjian [Sat, 16 Nov 1996 05:45:56 +0000 (05:45 +0000)]
Added documentation on new unique index capability.

27 years agoAdded include file needed by memset().
Bruce Momjian [Sat, 16 Nov 1996 05:18:58 +0000 (05:18 +0000)]
Added include file needed by memset().

27 years agoAdd prototype for new datetime functions.
Bruce Momjian [Sat, 16 Nov 1996 04:59:10 +0000 (04:59 +0000)]
Add prototype for new datetime functions.

27 years agoRemove quote removal. Moved to parser.
Bruce Momjian [Fri, 15 Nov 1996 18:38:55 +0000 (18:38 +0000)]
Remove quote removal. Moved to parser.

27 years agoCorrect permissions on lo_export(). Open up permissions.
Bruce Momjian [Fri, 15 Nov 1996 18:38:20 +0000 (18:38 +0000)]
Correct permissions on lo_export(). Open up permissions.

27 years agoFix quote/doublequote handling.
Bruce Momjian [Fri, 15 Nov 1996 18:37:37 +0000 (18:37 +0000)]
Fix quote/doublequote handling.

27 years agoRemove PERFECT_MEM
Bruce Momjian [Fri, 15 Nov 1996 18:37:10 +0000 (18:37 +0000)]
Remove PERFECT_MEM
Unallocate opaque.

27 years agoUnallocate opaque.
Bruce Momjian [Fri, 15 Nov 1996 18:36:31 +0000 (18:36 +0000)]
Unallocate opaque.

27 years agoChanged " to '. Removed bug section from psql. added reminder for log call
Bruce Momjian [Fri, 15 Nov 1996 17:55:31 +0000 (17:55 +0000)]
Changed " to '.  Removed bug section from psql.  added reminder for log call
in built-in.  fixed backslases in source for libpq.

27 years agoMulitple inclusion of sys/socket.h
Marc G. Fournier [Fri, 15 Nov 1996 09:54:28 +0000 (09:54 +0000)]
Mulitple inclusion of sys/socket.h

Pointed out by: Erik Bertelsen <erik@sockdev.uni-c.dk>

27 years agoFeatures added:
Marc G. Fournier [Thu, 14 Nov 1996 21:39:14 +0000 (21:39 +0000)]
Features added:

* Wrote max(date) and min(date) aggregates
* Wrote operator "-" for date; date - date yields number of days
  difference
* Wrote operator+(date,int) and operator-(date,int); the int is the
  number of days.  Each operator returns a new date.

By: Tom Tromey <tromey@creche.cygnus.com>

27 years agoBring in Randy's NOROOT patch
Marc G. Fournier [Thu, 14 Nov 1996 20:49:09 +0000 (20:49 +0000)]
Bring in Randy's NOROOT patch

27 years agoFix a comment...was going to fix the <sys/types.h> problem, but
Marc G. Fournier [Thu, 14 Nov 1996 20:27:06 +0000 (20:27 +0000)]
Fix a comment...was going to fix the <sys/types.h> problem, but
Randy is submitting a more comprehensive patch :)

27 years agoCouple of Ultrix4 related patches submited by:
Marc G. Fournier [Thu, 14 Nov 1996 20:08:58 +0000 (20:08 +0000)]
Couple of Ultrix4 related patches submited by:
Erik Bertelsen <erik@sockdev.uni-c.dk>

27 years agoFix a comment that wasn't commente'd out
Marc G. Fournier [Thu, 14 Nov 1996 20:06:39 +0000 (20:06 +0000)]
Fix a comment that wasn't commente'd out

Pointed out by: Erik Bertelsen <erik@sockdev.uni-c.dk>

27 years agoRemove comments psql was putting in output, typo's.
Bruce Momjian [Thu, 14 Nov 1996 16:09:28 +0000 (16:09 +0000)]
Remove comments psql was putting in output, typo's.
psql now returns error from queries and errors files, so ignore return code.

27 years agoOverhaul MainLoop input processing for quotes, comments, backslashes.
Bruce Momjian [Thu, 14 Nov 1996 16:08:05 +0000 (16:08 +0000)]
Overhaul MainLoop input processing for quotes, comments, backslashes.

27 years agoRemove most compile-time options, add a few runtime options to make up for it.
Bryan Henderson [Thu, 14 Nov 1996 10:25:54 +0000 (10:25 +0000)]
Remove most compile-time options, add a few runtime options to make up for it.
In particular, no more compiled-in default for PGDATA or LIBDIR.  Commands
that need them need either invocation options or environment variables.
PGPORT default is hardcoded as 5432, but overrideable with options or
environment variables.

27 years agomoved man pages here, as requested by Bryan
Marc G. Fournier [Thu, 14 Nov 1996 10:18:14 +0000 (10:18 +0000)]
moved man pages here, as requested by Bryan

27 years agoRemoved man pages...moved to src/man
Marc G. Fournier [Thu, 14 Nov 1996 10:15:16 +0000 (10:15 +0000)]
Removed man pages...moved to src/man

Requested by Bryan

27 years agoMissed this part when I eliminated $(srcdir); src/bin stuff won't compile.
Bryan Henderson [Thu, 14 Nov 1996 09:24:39 +0000 (09:24 +0000)]
Missed this part when I eliminated $(srcdir); src/bin stuff won't compile.

27 years agoUse port-protos.h instead of trying to declare random() and srandom()
Bryan Henderson [Thu, 14 Nov 1996 08:23:31 +0000 (08:23 +0000)]
Use port-protos.h instead of trying to declare random() and srandom()
explicitly.

27 years agoUse -Wno-error option only if compiler is gcc.
Bryan Henderson [Thu, 14 Nov 1996 07:33:34 +0000 (07:33 +0000)]
Use -Wno-error option only if compiler is gcc.

27 years agoUse -W options only if compiler is gcc.
Bryan Henderson [Thu, 14 Nov 1996 07:19:26 +0000 (07:19 +0000)]
Use -W options only if compiler is gcc.

27 years agoInclude stdlib.h to gives its NULL, etc. definitions precedence over ours.
Bryan Henderson [Thu, 14 Nov 1996 06:06:39 +0000 (06:06 +0000)]
Include stdlib.h to gives its NULL, etc. definitions precedence over ours.

27 years agoAdded percentage to CASSERT comment.
Bruce Momjian [Thu, 14 Nov 1996 00:26:23 +0000 (00:26 +0000)]
Added percentage to CASSERT comment.

27 years agoCommit of a *MAJOR* patch from Dan McGuirk <djm@indirect.com>
Marc G. Fournier [Wed, 13 Nov 1996 20:56:15 +0000 (20:56 +0000)]
Commit of a *MAJOR* patch from Dan McGuirk <djm@indirect.com>

Changes:

        * Unique index capability works using the syntax 'create unique
          index'.

        * Duplicate OID's in the system tables are removed.  I put
          little scripts called 'duplicate_oids' and 'find_oid' in
          include/catalog that help to find and remove duplicate OID's.
          I also moved 'unused_oids' from backend/catalog to
          include/catalog, since it has to be in the same directory
          as the include files in order to work.

        * The backend tries converting the name of a function or aggregate
          to all lowercase if the original name given doesn't work (mostly
          for compatibility with ODBC).

        * You can 'SELECT NULL' to your heart's content.

        * I put my _bt_updateitem fix in instead, which uses
          _bt_insertonpg so that even if the new key is so big that
          the page has to be split, everything still works.

        * All literal references to system catalog OID's have been
          replaced with references to define'd constants from the catalog
          header files.

        * I added a couple of node copy functions.  I think this was a
          preliminary attempt to get rules to work.

27 years agoFix syntax error introduced in last update.
Bryan Henderson [Wed, 13 Nov 1996 11:43:04 +0000 (11:43 +0000)]
Fix syntax error introduced in last update.

27 years agoEliminate MKDIR, srcdir, objdir. Centralize setting of LIBPQDIR.
Bryan Henderson [Wed, 13 Nov 1996 10:36:36 +0000 (10:36 +0000)]
Eliminate MKDIR, srcdir, objdir.  Centralize setting of LIBPQDIR.

27 years agoMake shared library builds work for BSD44_derived.
Bryan Henderson [Wed, 13 Nov 1996 08:36:31 +0000 (08:36 +0000)]
Make shared library builds work for BSD44_derived.

27 years agoForgot in yesterday's make file blitz.
Bryan Henderson [Wed, 13 Nov 1996 06:36:38 +0000 (06:36 +0000)]
Forgot in yesterday's make file blitz.

27 years agoEnd of the make file simplifications.
Bryan Henderson [Tue, 12 Nov 1996 11:43:32 +0000 (11:43 +0000)]
End of the make file simplifications.

27 years agoPut shared libraries in main directory, not obj/
Bryan Henderson [Tue, 12 Nov 1996 11:41:27 +0000 (11:41 +0000)]
Put shared libraries in main directory, not obj/

27 years agoFix for finding the include files
Marc G. Fournier [Tue, 12 Nov 1996 11:16:44 +0000 (11:16 +0000)]
Fix for finding the include files

27 years agoQuiet compiler warnings.
Bryan Henderson [Tue, 12 Nov 1996 11:09:13 +0000 (11:09 +0000)]
Quiet compiler warnings.

27 years agoUse new utils/version.c instead of backend/utils/init/magic.c.
Bryan Henderson [Tue, 12 Nov 1996 06:47:10 +0000 (06:47 +0000)]
Use new utils/version.c instead of backend/utils/init/magic.c.

27 years agoAdd dependency for install.
Bryan Henderson [Tue, 12 Nov 1996 06:11:52 +0000 (06:11 +0000)]
Add dependency for install.

27 years agoAdd install dependency.
Bryan Henderson [Tue, 12 Nov 1996 06:10:10 +0000 (06:10 +0000)]
Add install dependency.

27 years agoFix bug where it tries to do a cleardbdir when you make install.
Bryan Henderson [Tue, 12 Nov 1996 02:54:30 +0000 (02:54 +0000)]
Fix bug where it tries to do a cleardbdir when you make install.

27 years agoAdd include file postgres.h
Marc G. Fournier [Mon, 11 Nov 1996 16:33:12 +0000 (16:33 +0000)]
Add include file postgres.h

27 years agoAdd a blank install target so that 'make install' works
Marc G. Fournier [Mon, 11 Nov 1996 16:30:07 +0000 (16:30 +0000)]
Add a blank install target so that 'make install' works

27 years agofix 'conflicting types' errors
Marc G. Fournier [Mon, 11 Nov 1996 14:55:49 +0000 (14:55 +0000)]
fix 'conflicting types' errors

27 years agoAdd missing include errno.h
Marc G. Fournier [Mon, 11 Nov 1996 14:44:04 +0000 (14:44 +0000)]
Add missing include errno.h

27 years agoGoes with the recently added src/utils/version.c, will replace some stuff in
Bryan Henderson [Mon, 11 Nov 1996 14:24:38 +0000 (14:24 +0000)]
Goes with the recently added src/utils/version.c, will replace some stuff in
miscadmin.h.

27 years agoFixed double pfree on opaque.
Bruce Momjian [Mon, 11 Nov 1996 14:02:10 +0000 (14:02 +0000)]
Fixed double pfree on opaque.

27 years agoAdd utils directory for cross-subsystem tools to keep make files from having
Bryan Henderson [Mon, 11 Nov 1996 13:51:57 +0000 (13:51 +0000)]
Add utils directory for cross-subsystem tools to keep make files from having
to be sleazy and reach into other subsystems' directories.  First entry in
this directory is the PG_VERSION file interface, which must be used by the
backend and also the pg_version program (which is used by initdb).

27 years agoMakefile simplification: the "bin" chapter
Bryan Henderson [Mon, 11 Nov 1996 13:41:36 +0000 (13:41 +0000)]
Makefile simplification: the "bin" chapter

27 years agoAdd DASH_N, BACKSLASH_C variables, moved from postgres.shell.mk.
Bryan Henderson [Mon, 11 Nov 1996 13:24:43 +0000 (13:24 +0000)]
Add DASH_N, BACKSLASH_C variables, moved from postgres.shell.mk.

27 years ago-----
Marc G. Fournier [Mon, 11 Nov 1996 12:19:05 +0000 (12:19 +0000)]
-----
|After sending my previous changes I found one more thing in Makefile.global.
|Any tests should be done after including Makefile.custom or else there
|won't be anything, particularly the port name, to base the tests on.
|
-----

more changes to makefile.global from D'Arcy

27 years agoAs proposed,
Marc G. Fournier [Mon, 11 Nov 1996 12:16:57 +0000 (12:16 +0000)]
As proposed,

    following is the patch to libpq's large object interface that
    removes the requirement to  include  fmgr.h  into  fe-lobj.c.
    The  large object interface now ask's the backend to tell the
    OID's of all the required functions in pg_proc.

From: wieck@sapserv.debis.de (Jan Wieck)

27 years agoVarious cleanups from D'Arcy
Marc G. Fournier [Mon, 11 Nov 1996 12:14:45 +0000 (12:14 +0000)]
Various cleanups from D'Arcy

27 years agoAdd an abort() call to ExceptionalCondition so that is Assert is
Marc G. Fournier [Mon, 11 Nov 1996 11:49:40 +0000 (11:49 +0000)]
Add an abort() call to ExceptionalCondition so that is Assert is
called, it dumps core...

ABORT_ON_ASSERT must be defined, as I don't know if this is the correct
way to do this...

27 years agochange include c.h to postgres.h
Marc G. Fournier [Mon, 11 Nov 1996 11:29:15 +0000 (11:29 +0000)]
change include c.h to postgres.h

27 years agoRemove warnings when readline is not used.
Bruce Momjian [Mon, 11 Nov 1996 05:55:33 +0000 (05:55 +0000)]
Remove warnings when readline is not used.

27 years agoWarning removal cleanup
Bruce Momjian [Mon, 11 Nov 1996 04:54:54 +0000 (04:54 +0000)]
Warning removal cleanup

27 years agoMoved -Werror to COPT.
Bruce Momjian [Mon, 11 Nov 1996 03:12:00 +0000 (03:12 +0000)]
Moved -Werror to COPT.

27 years agoRemoved -Wmissing-declaration.
Bruce Momjian [Sun, 10 Nov 1996 17:35:58 +0000 (17:35 +0000)]
Removed -Wmissing-declaration.

27 years agoChange gmake to $(MAKE) so backend compiles on system with no "gmake".
Bryan Henderson [Sun, 10 Nov 1996 04:09:51 +0000 (04:09 +0000)]
Change gmake to $(MAKE) so backend compiles on system with no "gmake".

27 years agoprototype cleanup
Bruce Momjian [Sun, 10 Nov 1996 03:30:46 +0000 (03:30 +0000)]
prototype cleanup

27 years agoRecognize dependencies more reliably.
Bryan Henderson [Sun, 10 Nov 1996 03:13:59 +0000 (03:13 +0000)]
Recognize dependencies more reliably.

27 years agoAll external function definitions now have prototypes that are checked.
Bruce Momjian [Sun, 10 Nov 1996 03:06:38 +0000 (03:06 +0000)]
All external function definitions now have prototypes that are checked.

27 years agoQuiet compiler warnings.
Bryan Henderson [Sun, 10 Nov 1996 02:27:15 +0000 (02:27 +0000)]
Quiet compiler warnings.

27 years agoAdd #include <ctype.h> to quiet compiler about missing declaration of isspace().
Bryan Henderson [Sun, 10 Nov 1996 01:46:14 +0000 (01:46 +0000)]
Add #include <ctype.h> to quiet compiler about missing declaration of isspace().

27 years agoAdd #include <unistd.h> to quiet compiler warning about missing getopt() declaratoin.
Bryan Henderson [Sun, 10 Nov 1996 01:37:48 +0000 (01:37 +0000)]
Add #include <unistd.h> to quiet compiler warning about missing getopt() declaratoin.

27 years agoAdd #include <unistd.h> to quiet warning about missing getopt() declaration.
Bryan Henderson [Sun, 10 Nov 1996 01:35:39 +0000 (01:35 +0000)]
Add #include <unistd.h> to quiet warning about missing getopt() declaration.

27 years agoRemove #include <regex.h> so it compiles on systems with GNU regex library.
Bryan Henderson [Sun, 10 Nov 1996 01:20:44 +0000 (01:20 +0000)]
Remove #include <regex.h> so it compiles on systems with GNU regex library.

27 years agoAdd USE_POSIX_TIME, HAVE_TZSET for Linux so backend compiles.
Bryan Henderson [Sun, 10 Nov 1996 00:50:54 +0000 (00:50 +0000)]
Add USE_POSIX_TIME, HAVE_TZSET for Linux so backend compiles.

27 years agoMake it find inet_aton.h so backend compiles on Solaris.
Bryan Henderson [Sun, 10 Nov 1996 00:38:38 +0000 (00:38 +0000)]
Make it find inet_aton.h so backend compiles on Solaris.

27 years agoAdded in PQconnectdb() function
Marc G. Fournier [Sat, 9 Nov 1996 10:39:54 +0000 (10:39 +0000)]
Added in PQconnectdb() function

Submitted by: wieck@sapserv.debis.de (Jan Wieck)

27 years agovarious docs changes requested by Bryan
Marc G. Fournier [Sat, 9 Nov 1996 10:29:50 +0000 (10:29 +0000)]
various docs changes requested by Bryan

27 years agoMakefile cleanup after reorganization
Bruce Momjian [Sat, 9 Nov 1996 06:24:51 +0000 (06:24 +0000)]
Makefile cleanup after reorganization

27 years agoAdded new include file.
Bruce Momjian [Sat, 9 Nov 1996 05:48:28 +0000 (05:48 +0000)]
Added new include file.

27 years agoA few more sparc_solaris cleanups from keith parks
Marc G. Fournier [Sat, 9 Nov 1996 01:48:32 +0000 (01:48 +0000)]
A few more sparc_solaris cleanups from keith parks

27 years agoFix typo in file name found during install.
Bruce Momjian [Fri, 8 Nov 1996 21:40:11 +0000 (21:40 +0000)]
Fix typo in file name found during install.

27 years agoMore compile cleanups
Bruce Momjian [Fri, 8 Nov 1996 20:46:33 +0000 (20:46 +0000)]
More compile cleanups

27 years agoSomehow PORTNAME keeps getting changed to BSD44_derived :(
Marc G. Fournier [Fri, 8 Nov 1996 07:47:52 +0000 (07:47 +0000)]
Somehow PORTNAME keeps getting changed to BSD44_derived :(