Commit Graph

792 Commits

Author SHA1 Message Date
Marc G. Fournier
41b8c2c849 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)
1996-11-11 12:16:57 +00:00
Marc G. Fournier
2bdded3540 Various cleanups from D'Arcy 1996-11-11 12:14:45 +00:00
Marc G. Fournier
6913c8b4a4 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...
1996-11-11 11:49:40 +00:00
Marc G. Fournier
9fc64aefe1 change include c.h to postgres.h 1996-11-11 11:29:15 +00:00
Bruce Momjian
42a344683a Remove warnings when readline is not used. 1996-11-11 05:55:33 +00:00
Bruce Momjian
13d44b4aac Warning removal cleanup 1996-11-11 04:54:54 +00:00
Bruce Momjian
8d9be647dc Moved -Werror to COPT. 1996-11-11 03:12:00 +00:00
Bruce Momjian
1a5b4b9ffe Removed -Wmissing-declaration. 1996-11-10 17:35:58 +00:00
Bryan Henderson
60915ed2c2 Change gmake to $(MAKE) so backend compiles on system with no "gmake". 1996-11-10 04:09:51 +00:00
Bruce Momjian
77f8dff617 prototype cleanup 1996-11-10 03:30:46 +00:00
Bryan Henderson
08029facb3 Recognize dependencies more reliably. 1996-11-10 03:13:59 +00:00
Bruce Momjian
aaeef4d17d All external function definitions now have prototypes that are checked. 1996-11-10 03:06:38 +00:00
Bryan Henderson
bf5cbbf789 Quiet compiler warnings. 1996-11-10 02:27:15 +00:00
Bryan Henderson
2e21b7e4bc Add #include <ctype.h> to quiet compiler about missing declaration of isspace(). 1996-11-10 01:46:14 +00:00
Bryan Henderson
9f1b6bf7db Add #include <unistd.h> to quiet compiler warning about missing getopt() declaratoin. 1996-11-10 01:37:48 +00:00
Bryan Henderson
4e70c05979 Add #include <unistd.h> to quiet warning about missing getopt() declaration. 1996-11-10 01:35:39 +00:00
Bryan Henderson
0e5ab3655c Remove #include <regex.h> so it compiles on systems with GNU regex library. 1996-11-10 01:20:44 +00:00
Bryan Henderson
5d9e25c5ff Add USE_POSIX_TIME, HAVE_TZSET for Linux so backend compiles. 1996-11-10 00:50:54 +00:00
Bryan Henderson
d7806dc5ee Make it find inet_aton.h so backend compiles on Solaris. 1996-11-10 00:38:38 +00:00
Marc G. Fournier
4aa1734f36 Added in PQconnectdb() function
Submitted by: wieck@sapserv.debis.de (Jan Wieck)
1996-11-09 10:39:54 +00:00
Marc G. Fournier
7ee9464bc1 various docs changes requested by Bryan 1996-11-09 10:29:50 +00:00
Bruce Momjian
a0990e1884 Makefile cleanup after reorganization 1996-11-09 06:24:51 +00:00
Bruce Momjian
1d0e308395 Added new include file. 1996-11-09 05:48:28 +00:00
Marc G. Fournier
757b829ea8 A few more sparc_solaris cleanups from keith parks 1996-11-09 01:48:32 +00:00
Bruce Momjian
78078236ea Fix typo in file name found during install. 1996-11-08 21:40:11 +00:00
Bruce Momjian
c9c0e111b8 More compile cleanups 1996-11-08 20:46:33 +00:00
Marc G. Fournier
8006c6f52f Somehow PORTNAME keeps getting changed to BSD44_derived :( 1996-11-08 07:47:52 +00:00
Marc G. Fournier
cecf081aba Change includes from "" to <> 1996-11-08 06:43:28 +00:00
Bryan Henderson
7886d7351e Fix perbyte_cpu thing 1996-11-08 06:24:58 +00:00
Bruce Momjian
4b2b8592a0 Compile and warning cleanup 1996-11-08 06:02:30 +00:00
Marc G. Fournier
d79bb2fd0e quick doc cleanup for libpgtcl from D'Arcy 1996-11-08 01:10:15 +00:00
Marc G. Fournier
026387013e 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>
1996-11-08 01:08:37 +00:00
Marc G. Fournier
ad6ca0c3af Another patch to quiet the compiler from D'Arcy 1996-11-08 00:59:10 +00:00
Marc G. Fournier
2768f391a4 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>
1996-11-08 00:58:07 +00:00
Marc G. Fournier
7d8b794a9a Add some missing includes
From: Randy Terbush <randy@zyzzyva.com>
1996-11-08 00:56:17 +00:00
Marc G. Fournier
b38d565fc3 D'Arcy's recent cleanups 1996-11-08 00:46:14 +00:00
Bruce Momjian
b8003d098b Cleanup initdb for 1.*. 1996-11-07 15:24:27 +00:00
Bryan Henderson
00b1fb07f0 Try to fix mode. 1996-11-07 05:15:31 +00:00
Bryan Henderson
33b433b1af Try to fix mode. 1996-11-07 05:10:17 +00:00
Bruce Momjian
8de4434eb7 Update initdb instructions for a 1.* database. 1996-11-06 22:34:18 +00:00
Bruce Momjian
388c0d81da Change instructions for 1.*. 1996-11-06 22:32:18 +00:00
Marc G. Fournier
0020e8790d Another directory that compiles with no errors, and few warnings 1996-11-06 10:32:10 +00:00
Marc G. Fournier
1d0dd471fa 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.
1996-11-06 10:31:02 +00:00
Marc G. Fournier
b6e640f829 Make sure that #include <postgres.h> is included in fmgrtab.c 1996-11-06 10:22:13 +00:00
Marc G. Fournier
b49d41884f Add prototype for: int DebugFileOpen() 1996-11-06 10:15:25 +00:00
Marc G. Fournier
9f5eac1f97 ...same... 1996-11-06 09:56:47 +00:00
Marc G. Fournier
58a0150f64 More files cleaned out 1996-11-06 09:29:26 +00:00
Marc G. Fournier
be9197320a One by one, file by file 1996-11-06 09:27:29 +00:00
Marc G. Fournier
3f07f6bab2 Another 1996-11-06 09:24:57 +00:00
Marc G. Fournier
7d5e795596 Getting there, one by one... 1996-11-06 09:21:42 +00:00