]> granicus.if.org Git - postgresql/log
postgresql
28 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.

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

28 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.

28 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.

28 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.

28 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.

28 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.

28 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.

28 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/

28 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

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

28 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.

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

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

28 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.

28 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

28 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

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

28 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

28 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.

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

28 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).

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

28 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.

28 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

28 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)

28 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

28 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...

28 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

28 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.

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

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

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

28 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".

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

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

28 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.

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

28 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().

28 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.

28 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.

28 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.

28 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.

28 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.

28 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)

28 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

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

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

28 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

28 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.

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

28 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 :(

28 years agoChange includes from "" to <>
Marc G. Fournier [Fri, 8 Nov 1996 06:43:28 +0000 (06:43 +0000)]
Change includes from "" to <>

28 years agoFix perbyte_cpu thing
Bryan Henderson [Fri, 8 Nov 1996 06:24:58 +0000 (06:24 +0000)]
Fix perbyte_cpu thing

28 years agoCompile and warning cleanup
Bruce Momjian [Fri, 8 Nov 1996 06:02:30 +0000 (06:02 +0000)]
Compile and warning cleanup

28 years agoquick doc cleanup for libpgtcl from D'Arcy
Marc G. Fournier [Fri, 8 Nov 1996 01:10:15 +0000 (01:10 +0000)]
quick doc cleanup for libpgtcl from D'Arcy

28 years agoSecondly, small problem when trying to create a MAX/MIN aggregate in 1.09.
Marc G. Fournier [Fri, 8 Nov 1996 01:08:37 +0000 (01:08 +0000)]
Secondly, small problem when trying to create a MAX/MIN aggregate in 1.09.

>From the create_aggregate man page...

"The arguments to state-transition-function-1 must be
(stype1,basetype), and its return value must be stype1."

create aggregate MIN (sfunc1 = int2smaller,
                      basetype = int2,
                      stype1 = int2);

will fail becase int2smaller and int2larger are in pg_proc
as returning an int4.  Can't happen since both args have to
be int2.

From: Darren King <aixssd!ceodev!darrenk@abs.net>

28 years agoAnother patch to quiet the compiler from D'Arcy
Marc G. Fournier [Fri, 8 Nov 1996 00:59:10 +0000 (00:59 +0000)]
Another patch to quiet the compiler from D'Arcy

28 years agoThere is a problem in the Makefile of libpgtcl on linux (and maybe also on
Marc G. Fournier [Fri, 8 Nov 1996 00:58:07 +0000 (00:58 +0000)]
There is a problem in the Makefile of libpgtcl on linux (and maybe also on
other platforms).  If I do the standard make + make install the shared library
is not linked with the the libpq library and when I try to load it in the
standard Tcl or Tk shell I get a lot of unresolved symbols.  The bug doesn't
affect pgtclsh because it is linked also with libpq. The problem exists only
when using the dynamic load feature of Tcl7.5.

From: Massimo Dal Zotto <dz@cs.unitn.it>

28 years agoAdd some missing includes
Marc G. Fournier [Fri, 8 Nov 1996 00:56:17 +0000 (00:56 +0000)]
Add some missing includes

From: Randy Terbush <randy@zyzzyva.com>

28 years agoD'Arcy's recent cleanups
Marc G. Fournier [Fri, 8 Nov 1996 00:46:14 +0000 (00:46 +0000)]
D'Arcy's recent cleanups

28 years agoCleanup initdb for 1.*.
Bruce Momjian [Thu, 7 Nov 1996 15:24:27 +0000 (15:24 +0000)]
Cleanup initdb for 1.*.

28 years agoTry to fix mode.
Bryan Henderson [Thu, 7 Nov 1996 05:15:31 +0000 (05:15 +0000)]
Try to fix mode.

28 years agoTry to fix mode.
Bryan Henderson [Thu, 7 Nov 1996 05:10:17 +0000 (05:10 +0000)]
Try to fix mode.

28 years agoUpdate initdb instructions for a 1.* database.
Bruce Momjian [Wed, 6 Nov 1996 22:34:18 +0000 (22:34 +0000)]
Update initdb instructions for a 1.* database.

28 years agoChange instructions for 1.*.
Bruce Momjian [Wed, 6 Nov 1996 22:32:18 +0000 (22:32 +0000)]
Change instructions for 1.*.

28 years agoAnother directory that compiles with no errors, and few warnings
Marc G. Fournier [Wed, 6 Nov 1996 10:32:10 +0000 (10:32 +0000)]
Another directory that compiles with no errors, and few warnings

28 years agoOkay...this pretty much cleans out the include files.
Marc G. Fournier [Wed, 6 Nov 1996 10:31:02 +0000 (10:31 +0000)]
Okay...this pretty much cleans out the include files.

I'm able to get through a 'make' of the backend with no errors except
the occasional 'might not be initialized error', which is nothing major,
just annoying.

Have a few patches from D'Arcy to incorporate, but am waiting until I can
get a clean compile first, which I'm hoping to have before bed, or sometime
tomorrow.

28 years agoMake sure that #include <postgres.h> is included in fmgrtab.c
Marc G. Fournier [Wed, 6 Nov 1996 10:22:13 +0000 (10:22 +0000)]
Make sure that #include <postgres.h> is included in fmgrtab.c

28 years agoAdd prototype for: int DebugFileOpen()
Marc G. Fournier [Wed, 6 Nov 1996 10:15:25 +0000 (10:15 +0000)]
Add prototype for: int DebugFileOpen()

28 years ago...same...
Marc G. Fournier [Wed, 6 Nov 1996 09:56:47 +0000 (09:56 +0000)]
...same...

28 years agoMore files cleaned out
Marc G. Fournier [Wed, 6 Nov 1996 09:29:26 +0000 (09:29 +0000)]
More files cleaned out

28 years agoOne by one, file by file
Marc G. Fournier [Wed, 6 Nov 1996 09:27:29 +0000 (09:27 +0000)]
One by one, file by file

28 years agoAnother
Marc G. Fournier [Wed, 6 Nov 1996 09:24:57 +0000 (09:24 +0000)]
Another

28 years agoGetting there, one by one...
Marc G. Fournier [Wed, 6 Nov 1996 09:21:42 +0000 (09:21 +0000)]
Getting there, one by one...

28 years agoAnd another
Marc G. Fournier [Wed, 6 Nov 1996 09:19:16 +0000 (09:19 +0000)]
And another

28 years agoanother one bites the dust
Marc G. Fournier [Wed, 6 Nov 1996 09:17:31 +0000 (09:17 +0000)]
another one bites the dust

28 years agoJust a couple of small mods
Marc G. Fournier [Wed, 6 Nov 1996 08:54:17 +0000 (08:54 +0000)]
Just a couple of small mods

28 years agoanother gone
Marc G. Fournier [Wed, 6 Nov 1996 08:52:04 +0000 (08:52 +0000)]
another gone

28 years agoI'm getting there, slowly :)
Marc G. Fournier [Wed, 6 Nov 1996 08:48:33 +0000 (08:48 +0000)]
I'm getting there, slowly :)

28 years agoSlowly getting faster to make sure it compiles...still needs cleaning
Marc G. Fournier [Wed, 6 Nov 1996 08:27:16 +0000 (08:27 +0000)]
Slowly getting faster to make sure it compiles...still needs cleaning
up, but one thing at a time :)

28 years agoClean it up so that it compiles
Marc G. Fournier [Wed, 6 Nov 1996 08:21:43 +0000 (08:21 +0000)]
Clean it up so that it compiles

28 years agoAnother one cleaned up
Marc G. Fournier [Wed, 6 Nov 1996 08:07:45 +0000 (08:07 +0000)]
Another one cleaned up

28 years agoOops, two includes unrequired
Marc G. Fournier [Wed, 6 Nov 1996 08:05:02 +0000 (08:05 +0000)]
Oops, two includes unrequired

28 years agoAnother one bite sthe dust
Marc G. Fournier [Wed, 6 Nov 1996 08:02:40 +0000 (08:02 +0000)]
Another one bite sthe dust

28 years agoanother include cleaned out
Marc G. Fournier [Wed, 6 Nov 1996 07:50:12 +0000 (07:50 +0000)]
another include cleaned out

28 years agoFurther include file cleanups
Marc G. Fournier [Wed, 6 Nov 1996 07:44:18 +0000 (07:44 +0000)]
Further include file cleanups

28 years agoAnother directory cleaned up
Marc G. Fournier [Wed, 6 Nov 1996 07:31:26 +0000 (07:31 +0000)]
Another directory cleaned up

28 years agoAnother one bites the dust
Marc G. Fournier [Wed, 6 Nov 1996 07:05:18 +0000 (07:05 +0000)]
Another one bites the dust

28 years agoSome compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>
Marc G. Fournier [Wed, 6 Nov 1996 06:52:23 +0000 (06:52 +0000)]
Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>

28 years agoMakes it compile...still needs work
Marc G. Fournier [Tue, 5 Nov 1996 11:57:55 +0000 (11:57 +0000)]
Makes it compile...still needs work

28 years agoanother one quickly done up
Marc G. Fournier [Tue, 5 Nov 1996 11:29:45 +0000 (11:29 +0000)]
another one quickly done up

28 years agoclean this one
Marc G. Fournier [Tue, 5 Nov 1996 11:23:43 +0000 (11:23 +0000)]
clean this one

28 years agoMissed a file...
Marc G. Fournier [Tue, 5 Nov 1996 11:17:47 +0000 (11:17 +0000)]
Missed a file...

access now compile with -Wall -Werror

28 years agoThere, that cleans *that* out
Marc G. Fournier [Tue, 5 Nov 1996 11:12:33 +0000 (11:12 +0000)]
There, that cleans *that* out

28 years agoOne more to go
Marc G. Fournier [Tue, 5 Nov 1996 10:54:20 +0000 (10:54 +0000)]
One more to go

28 years agothese ones have their dependencies cleaned up
Marc G. Fournier [Tue, 5 Nov 1996 10:37:16 +0000 (10:37 +0000)]
these ones have their dependencies cleaned up

28 years agoAlmost done access...
Marc G. Fournier [Tue, 5 Nov 1996 10:35:38 +0000 (10:35 +0000)]
Almost done access...

28 years agoMore cleanups
Marc G. Fournier [Tue, 5 Nov 1996 10:02:06 +0000 (10:02 +0000)]
More cleanups

28 years agoMore cleanups
Marc G. Fournier [Tue, 5 Nov 1996 09:53:03 +0000 (09:53 +0000)]
More cleanups