]>
granicus.if.org Git - postgresql/log
Bruce Momjian [Sat, 16 Nov 1996 05:45:56 +0000 (05:45 +0000)]
Added documentation on new unique index capability.
Bruce Momjian [Sat, 16 Nov 1996 05:18:58 +0000 (05:18 +0000)]
Added include file needed by memset().
Bruce Momjian [Sat, 16 Nov 1996 04:59:10 +0000 (04:59 +0000)]
Add prototype for new datetime functions.
Bruce Momjian [Fri, 15 Nov 1996 18:38:55 +0000 (18:38 +0000)]
Remove quote removal. Moved to parser.
Bruce Momjian [Fri, 15 Nov 1996 18:38:20 +0000 (18:38 +0000)]
Correct permissions on lo_export(). Open up permissions.
Bruce Momjian [Fri, 15 Nov 1996 18:37:37 +0000 (18:37 +0000)]
Fix quote/doublequote handling.
Bruce Momjian [Fri, 15 Nov 1996 18:37:10 +0000 (18:37 +0000)]
Remove PERFECT_MEM
Unallocate opaque.
Bruce Momjian [Fri, 15 Nov 1996 18:36:31 +0000 (18:36 +0000)]
Unallocate opaque.
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.
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>
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>
Marc G. Fournier [Thu, 14 Nov 1996 20:49:09 +0000 (20:49 +0000)]
Bring in Randy's NOROOT patch
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 :)
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>
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>
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.
Bruce Momjian [Thu, 14 Nov 1996 16:08:05 +0000 (16:08 +0000)]
Overhaul MainLoop input processing for quotes, comments, backslashes.
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.
Marc G. Fournier [Thu, 14 Nov 1996 10:18:14 +0000 (10:18 +0000)]
moved man pages here, as requested by Bryan
Marc G. Fournier [Thu, 14 Nov 1996 10:15:16 +0000 (10:15 +0000)]
Removed man pages...moved to src/man
Requested by Bryan
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.
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.
Bryan Henderson [Thu, 14 Nov 1996 07:33:34 +0000 (07:33 +0000)]
Use -Wno-error option 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.
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.
Bruce Momjian [Thu, 14 Nov 1996 00:26:23 +0000 (00:26 +0000)]
Added percentage to CASSERT comment.
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.
Bryan Henderson [Wed, 13 Nov 1996 11:43:04 +0000 (11:43 +0000)]
Fix syntax error introduced in last update.
Bryan Henderson [Wed, 13 Nov 1996 10:36:36 +0000 (10:36 +0000)]
Eliminate MKDIR, srcdir, objdir. Centralize setting of LIBPQDIR.
Bryan Henderson [Wed, 13 Nov 1996 08:36:31 +0000 (08:36 +0000)]
Make shared library builds work for BSD44_derived.
Bryan Henderson [Wed, 13 Nov 1996 06:36:38 +0000 (06:36 +0000)]
Forgot in yesterday's make file blitz.
Bryan Henderson [Tue, 12 Nov 1996 11:43:32 +0000 (11:43 +0000)]
End of the make file simplifications.
Bryan Henderson [Tue, 12 Nov 1996 11:41:27 +0000 (11:41 +0000)]
Put shared libraries in main directory, not obj/
Marc G. Fournier [Tue, 12 Nov 1996 11:16:44 +0000 (11:16 +0000)]
Fix for finding the include files
Bryan Henderson [Tue, 12 Nov 1996 11:09:13 +0000 (11:09 +0000)]
Quiet compiler warnings.
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.
Bryan Henderson [Tue, 12 Nov 1996 06:11:52 +0000 (06:11 +0000)]
Add dependency for install.
Bryan Henderson [Tue, 12 Nov 1996 06:10:10 +0000 (06:10 +0000)]
Add install dependency.
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.
Marc G. Fournier [Mon, 11 Nov 1996 16:33:12 +0000 (16:33 +0000)]
Add include file postgres.h
Marc G. Fournier [Mon, 11 Nov 1996 16:30:07 +0000 (16:30 +0000)]
Add a blank install target so that 'make install' works
Marc G. Fournier [Mon, 11 Nov 1996 14:55:49 +0000 (14:55 +0000)]
fix 'conflicting types' errors
Marc G. Fournier [Mon, 11 Nov 1996 14:44:04 +0000 (14:44 +0000)]
Add missing include errno.h
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.
Bruce Momjian [Mon, 11 Nov 1996 14:02:10 +0000 (14:02 +0000)]
Fixed double pfree on opaque.
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).
Bryan Henderson [Mon, 11 Nov 1996 13:41:36 +0000 (13:41 +0000)]
Makefile simplification: the "bin" chapter
Bryan Henderson [Mon, 11 Nov 1996 13:24:43 +0000 (13:24 +0000)]
Add DASH_N, BACKSLASH_C variables, moved from postgres.shell.mk.
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
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)
Marc G. Fournier [Mon, 11 Nov 1996 12:14:45 +0000 (12:14 +0000)]
Various cleanups from D'Arcy
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...
Marc G. Fournier [Mon, 11 Nov 1996 11:29:15 +0000 (11:29 +0000)]
change include c.h to postgres.h
Bruce Momjian [Mon, 11 Nov 1996 05:55:33 +0000 (05:55 +0000)]
Remove warnings when readline is not used.
Bruce Momjian [Mon, 11 Nov 1996 04:54:54 +0000 (04:54 +0000)]
Warning removal cleanup
Bruce Momjian [Mon, 11 Nov 1996 03:12:00 +0000 (03:12 +0000)]
Moved -Werror to COPT.
Bruce Momjian [Sun, 10 Nov 1996 17:35:58 +0000 (17:35 +0000)]
Removed -Wmissing-declaration.
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".
Bruce Momjian [Sun, 10 Nov 1996 03:30:46 +0000 (03:30 +0000)]
prototype cleanup
Bryan Henderson [Sun, 10 Nov 1996 03:13:59 +0000 (03:13 +0000)]
Recognize dependencies more reliably.
Bruce Momjian [Sun, 10 Nov 1996 03:06:38 +0000 (03:06 +0000)]
All external function definitions now have prototypes that are checked.
Bryan Henderson [Sun, 10 Nov 1996 02:27:15 +0000 (02:27 +0000)]
Quiet compiler warnings.
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().
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.
Bryan Henderson [Sun, 10 Nov 1996 01:35:39 +0000 (01:35 +0000)]
Add #include <unistd.h> to quiet warning about missing getopt() declaration.
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.
Bryan Henderson [Sun, 10 Nov 1996 00:50:54 +0000 (00:50 +0000)]
Add USE_POSIX_TIME, HAVE_TZSET for Linux so backend compiles.
Bryan Henderson [Sun, 10 Nov 1996 00:38:38 +0000 (00:38 +0000)]
Make it find inet_aton.h so backend compiles on Solaris.
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)
Marc G. Fournier [Sat, 9 Nov 1996 10:29:50 +0000 (10:29 +0000)]
various docs changes requested by Bryan
Bruce Momjian [Sat, 9 Nov 1996 06:24:51 +0000 (06:24 +0000)]
Makefile cleanup after reorganization
Bruce Momjian [Sat, 9 Nov 1996 05:48:28 +0000 (05:48 +0000)]
Added new include file.
Marc G. Fournier [Sat, 9 Nov 1996 01:48:32 +0000 (01:48 +0000)]
A few more sparc_solaris cleanups from keith parks
Bruce Momjian [Fri, 8 Nov 1996 21:40:11 +0000 (21:40 +0000)]
Fix typo in file name found during install.
Bruce Momjian [Fri, 8 Nov 1996 20:46:33 +0000 (20:46 +0000)]
More compile cleanups
Marc G. Fournier [Fri, 8 Nov 1996 07:47:52 +0000 (07:47 +0000)]
Somehow PORTNAME keeps getting changed to BSD44_derived :(
Marc G. Fournier [Fri, 8 Nov 1996 06:43:28 +0000 (06:43 +0000)]
Change includes from "" to <>
Bryan Henderson [Fri, 8 Nov 1996 06:24:58 +0000 (06:24 +0000)]
Fix perbyte_cpu thing
Bruce Momjian [Fri, 8 Nov 1996 06:02:30 +0000 (06:02 +0000)]
Compile and warning cleanup
Marc G. Fournier [Fri, 8 Nov 1996 01:10:15 +0000 (01:10 +0000)]
quick doc cleanup for libpgtcl from D'Arcy
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>
Marc G. Fournier [Fri, 8 Nov 1996 00:59:10 +0000 (00:59 +0000)]
Another patch to quiet the compiler from D'Arcy
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>
Marc G. Fournier [Fri, 8 Nov 1996 00:56:17 +0000 (00:56 +0000)]
Add some missing includes
From: Randy Terbush <randy@zyzzyva.com>
Marc G. Fournier [Fri, 8 Nov 1996 00:46:14 +0000 (00:46 +0000)]
D'Arcy's recent cleanups
Bruce Momjian [Thu, 7 Nov 1996 15:24:27 +0000 (15:24 +0000)]
Cleanup initdb for 1.*.
Bryan Henderson [Thu, 7 Nov 1996 05:15:31 +0000 (05:15 +0000)]
Try to fix mode.
Bryan Henderson [Thu, 7 Nov 1996 05:10:17 +0000 (05:10 +0000)]
Try to fix mode.
Bruce Momjian [Wed, 6 Nov 1996 22:34:18 +0000 (22:34 +0000)]
Update initdb instructions for a 1.* database.
Bruce Momjian [Wed, 6 Nov 1996 22:32:18 +0000 (22:32 +0000)]
Change instructions for 1.*.
Marc G. Fournier [Wed, 6 Nov 1996 10:32:10 +0000 (10:32 +0000)]
Another directory that compiles with no errors, and few warnings
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.
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
Marc G. Fournier [Wed, 6 Nov 1996 10:15:25 +0000 (10:15 +0000)]
Add prototype for: int DebugFileOpen()
Marc G. Fournier [Wed, 6 Nov 1996 09:56:47 +0000 (09:56 +0000)]
...same...
Marc G. Fournier [Wed, 6 Nov 1996 09:29:26 +0000 (09:29 +0000)]
More files cleaned out
Marc G. Fournier [Wed, 6 Nov 1996 09:27:29 +0000 (09:27 +0000)]
One by one, file by file
Marc G. Fournier [Wed, 6 Nov 1996 09:24:57 +0000 (09:24 +0000)]
Another
Marc G. Fournier [Wed, 6 Nov 1996 09:21:42 +0000 (09:21 +0000)]
Getting there, one by one...
Marc G. Fournier [Wed, 6 Nov 1996 09:19:16 +0000 (09:19 +0000)]
And another