]> granicus.if.org Git - postgresql/log
postgresql
27 years agoUse proper types so it compiles on DEC C89. Thanks Erik Bertelson.
Bryan Henderson [Wed, 8 Jan 1997 08:39:10 +0000 (08:39 +0000)]
Use proper types so it compiles on DEC C89.  Thanks Erik Bertelson.

27 years agoChange the way ipc.h is included because sys/ipc.h on Ultrix is broken.
Bryan Henderson [Wed, 8 Jan 1997 08:33:07 +0000 (08:33 +0000)]
Change the way ipc.h is included because sys/ipc.h on Ultrix is broken.

27 years agoAdd include of port-protos.h so it works on Ultrix. Thanks Erik Bertelson.
Bryan Henderson [Wed, 8 Jan 1997 08:31:07 +0000 (08:31 +0000)]
Add include of port-protos.h so it works on Ultrix.  Thanks Erik Bertelson.

27 years agoFix syntax error
Bryan Henderson [Wed, 8 Jan 1997 08:30:21 +0000 (08:30 +0000)]
Fix syntax error

27 years agominor path problem fix by tgl@mythos.jpl.nasa.gov
Marc G. Fournier [Wed, 8 Jan 1997 07:32:58 +0000 (07:32 +0000)]
minor path problem fix by tgl@mythos.jpl.nasa.gov

27 years agoTypo: Change Postgres95 to PostgreSQL
Marc G. Fournier [Wed, 8 Jan 1997 07:32:15 +0000 (07:32 +0000)]
Typo: Change Postgres95 to PostgreSQL

By: tgl@mythos.jpl.nasa.gov

27 years agoImprovements to pg_dump to:
Marc G. Fournier [Tue, 7 Jan 1997 00:04:19 +0000 (00:04 +0000)]
Improvements to pg_dump to:
- dump Views

Submitted by: Keith Parks <emkxp01@mtcc.demon.co.uk>

27 years agoFix mismatching prototype (const int vs int)
Bryan Henderson [Mon, 6 Jan 1997 10:11:11 +0000 (10:11 +0000)]
Fix mismatching prototype (const int vs int)

27 years agoAdd Irix stuff.
Bryan Henderson [Mon, 6 Jan 1997 10:10:43 +0000 (10:10 +0000)]
Add Irix stuff.

27 years agoremove zap_ltv from the distribution, since the problem it fixed doesn't
Marc G. Fournier [Mon, 6 Jan 1997 03:46:44 +0000 (03:46 +0000)]
remove zap_ltv from the distribution, since the problem it fixed doesn't
exist anymore...

27 years agoREmove pg4_dump...its old stuff that is sooo out of date as to be useless...
Marc G. Fournier [Mon, 6 Jan 1997 03:25:40 +0000 (03:25 +0000)]
REmove pg4_dump...its old stuff that is sooo out of date as to be useless...

27 years agoNeXT port specific changes by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
Marc G. Fournier [Mon, 6 Jan 1997 00:24:24 +0000 (00:24 +0000)]
NeXT port specific changes by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>

27 years agoPORT NeXT requires an isascii() define...put it in config.h, most likely
Marc G. Fournier [Mon, 6 Jan 1997 00:22:55 +0000 (00:22 +0000)]
PORT NeXT requires an isascii() define...put it in config.h, most likely
*should* have gone into the ports directory, but hopefully *someday* we'll
be able to get rid of that?

27 years agoMinor changes for NeXT compile
Marc G. Fournier [Mon, 6 Jan 1997 00:20:13 +0000 (00:20 +0000)]
Minor changes for NeXT compile

Submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>

27 years agoMore config.h syncing for limits.h
Marc G. Fournier [Mon, 6 Jan 1997 00:15:26 +0000 (00:15 +0000)]
More config.h syncing for limits.h

27 years agoAdd NeXT port submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
Marc G. Fournier [Mon, 6 Jan 1997 00:12:34 +0000 (00:12 +0000)]
Add NeXT port submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>

27 years agoClean up 'if defined()' for header files...
Marc G. Fournier [Mon, 6 Jan 1997 00:08:31 +0000 (00:08 +0000)]
Clean up 'if defined()' for header files...

27 years agoadd define for USE_LIMIT_H into NeXT port...
Marc G. Fournier [Mon, 6 Jan 1997 00:08:07 +0000 (00:08 +0000)]
add define for USE_LIMIT_H into NeXT port...

Pointed out by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>

27 years agofinal fix for shared library under BSD44_derived
Marc G. Fournier [Sun, 5 Jan 1997 23:53:57 +0000 (23:53 +0000)]
final fix for shared library under BSD44_derived

Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>

27 years agoShared library fixes for BSD44_Derived port
Marc G. Fournier [Sun, 5 Jan 1997 23:52:21 +0000 (23:52 +0000)]
Shared library fixes for BSD44_Derived port

Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>

NOTE: The following patch I was uncertain of, but applied it...will end up
testing the compile on my machine later tonight anyway, but if anyone
knows why this *shouldn't* have been done, please change it. (CC -> LD)

***************
*** 61,68 ****
  ../backend/lib/dllist.o:
        $(MAKE) -C ../backend/lib dllist.o

! libpq.so.1: $(OBJS)
!       $(CC) $(LDFLAGS) -shared $(OBJS) -o libpq.so.1

  c.h: ../include/c.h
        rm -f c.h
--- 66,73 ----
  ../backend/lib/dllist.o:
        $(MAKE) -C ../backend/lib dllist.o

! $(shlib): $(OBJS)
!       $(LD) $(LDFLAGS) -shared $(OBJS) -o $(shlib)

  c.h: ../include/c.h
        rm -f c.h

27 years agoFixes:
Marc G. Fournier [Sun, 5 Jan 1997 23:46:17 +0000 (23:46 +0000)]
Fixes:

  This corrects the newline handling when using the readline library.

Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>

27 years agoFixes:
Marc G. Fournier [Sun, 5 Jan 1997 23:43:58 +0000 (23:43 +0000)]
Fixes:

  First, this is because of dlopen() and dlsym() having a char *
in the system prototype.

Submitted by: "Martin J. Laubach" <mjl@wwx.vip.at>

27 years agoJust reviewed what I changed as far a dlopen/etc are concerned, and determined
Marc G. Fournier [Sun, 5 Jan 1997 23:41:43 +0000 (23:41 +0000)]
Just reviewed what I changed as far a dlopen/etc are concerned, and determined
that the "fix" is wrong...

27 years agoSilence compiler warnings, fix error in complex compare function.
Bryan Henderson [Sun, 5 Jan 1997 21:20:34 +0000 (21:20 +0000)]
Silence compiler warnings, fix error in complex compare function.

27 years agoStandardize all LDADD to LD_ADD.
Bryan Henderson [Sun, 5 Jan 1997 21:17:45 +0000 (21:17 +0000)]
Standardize all LDADD to LD_ADD.

27 years agoClosing opened indices.
Vadim B. Mikheev [Sun, 5 Jan 1997 10:58:15 +0000 (10:58 +0000)]
Closing opened indices.

27 years agoReleasing empty root page in _bt_endpoint () to avoid
Vadim B. Mikheev [Sun, 5 Jan 1997 10:56:36 +0000 (10:56 +0000)]
Releasing empty root page in _bt_endpoint () to avoid
buffer leak.

27 years ago someone added pg_listen and pg_notifies to libpgtcl. But first
Marc G. Fournier [Fri, 3 Jan 1997 18:48:31 +0000 (18:48 +0000)]
someone added pg_listen and pg_notifies to libpgtcl. But first
    these routines try to use the old pointer casting stuff to get
    the connection id, second the notification hash table should
    be part of the cliendData. Otherwise, one interpreter might
    eat up the notifies for another one.

    Please apply the patch below to the current 6.0 tree.

Submitted by: wieck@sapserv.debis.de

27 years agoMigration file changes
Bruce Momjian [Fri, 3 Jan 1997 17:24:45 +0000 (17:24 +0000)]
Migration file changes

27 years agomoved migration files
Bruce Momjian [Fri, 3 Jan 1997 15:53:50 +0000 (15:53 +0000)]
moved migration files

27 years agoupdate TODO
Bruce Momjian [Fri, 3 Jan 1997 15:50:08 +0000 (15:50 +0000)]
update TODO

27 years agodocumentation updating to 6.0 release
Bruce Momjian [Fri, 3 Jan 1997 06:08:21 +0000 (06:08 +0000)]
documentation updating to 6.0 release

27 years agoFreeBSD doesn't require the dl{open,close,sym,error} functions, as they are
Marc G. Fournier [Fri, 3 Jan 1997 04:59:01 +0000 (04:59 +0000)]
FreeBSD doesn't require the dl{open,close,sym,error} functions, as they are
already included in the system libraries.

Used if !defined(__FreeBSD__) to single FreeBSD out from the other BSD44
derived OSs

27 years agofix for previous fix
Bruce Momjian [Thu, 2 Jan 1997 07:07:32 +0000 (07:07 +0000)]
fix for previous fix

27 years agopsql paren. with \r fix.
Bruce Momjian [Thu, 2 Jan 1997 06:45:25 +0000 (06:45 +0000)]
psql paren. with \r fix.

27 years agoALTER TABLE (text) fix
Bruce Momjian [Thu, 2 Jan 1997 06:18:25 +0000 (06:18 +0000)]
ALTER TABLE (text) fix

27 years agoFix for SELECT INTO ... GROUP/ORDER BY where table already exists unlink error.
Bruce Momjian [Wed, 1 Jan 1997 06:01:16 +0000 (06:01 +0000)]
Fix for SELECT INTO ... GROUP/ORDER BY where table already exists unlink error.

27 years agoMake error messages more explicit, PQtrace() output more readable.
Bryan Henderson [Tue, 31 Dec 1996 07:29:17 +0000 (07:29 +0000)]
Make error messages more explicit, PQtrace() output more readable.

27 years agoRename Makefile to GNUmakefile to catch people using other makes.
Bryan Henderson [Tue, 31 Dec 1996 07:26:27 +0000 (07:26 +0000)]
Rename Makefile to GNUmakefile to catch people using other makes.

27 years agoFixed realloc for increasing tempRels list.
Vadim B. Mikheev [Tue, 31 Dec 1996 06:58:27 +0000 (06:58 +0000)]
Fixed realloc for increasing tempRels list.

27 years agoReleaseTmpRelBuffers () releases buffers in LOCAL buffer pool now
Vadim B. Mikheev [Tue, 31 Dec 1996 06:47:30 +0000 (06:47 +0000)]
ReleaseTmpRelBuffers () releases buffers in  LOCAL buffer pool now
(if rd_islocal is true).

27 years agoPut $(CURSES_LIB) in Makefile.global to replace similar thing in psql/Makefile.
Bryan Henderson [Mon, 30 Dec 1996 23:19:48 +0000 (23:19 +0000)]
Put $(CURSES_LIB) in Makefile.global to replace similar thing in psql/Makefile.

27 years agoCheck that PQendcopy succeeded. Issue error message if not.
Bryan Henderson [Mon, 30 Dec 1996 23:05:16 +0000 (23:05 +0000)]
Check that PQendcopy succeeded.  Issue error message if not.

27 years agoexplain change
Bruce Momjian [Sun, 29 Dec 1996 19:31:16 +0000 (19:31 +0000)]
explain change

27 years agotypo fix
Bruce Momjian [Sun, 29 Dec 1996 03:55:36 +0000 (03:55 +0000)]
typo fix

27 years agoNew EXPLAIN manual page.
Bruce Momjian [Sun, 29 Dec 1996 00:58:32 +0000 (00:58 +0000)]
New EXPLAIN manual page.

27 years agoChanged EXPLAIN option names.
Bruce Momjian [Sun, 29 Dec 1996 00:53:59 +0000 (00:53 +0000)]
Changed EXPLAIN option names.

27 years agoImproved EXPLAIN option handling.
Bruce Momjian [Sun, 29 Dec 1996 00:53:20 +0000 (00:53 +0000)]
Improved EXPLAIN option handling.

27 years agoFix expected regression output.
Bruce Momjian [Sat, 28 Dec 1996 23:07:54 +0000 (23:07 +0000)]
Fix expected regression output.

27 years agoFixed errors in create statement.
Bruce Momjian [Sat, 28 Dec 1996 22:46:40 +0000 (22:46 +0000)]
Fixed errors in create statement.

27 years agoFixed error where = should be ==.
Bruce Momjian [Sat, 28 Dec 1996 22:44:58 +0000 (22:44 +0000)]
Fixed error where = should be ==.

27 years agoFixed Assert check where ! should be !=.
Bruce Momjian [Sat, 28 Dec 1996 22:44:14 +0000 (22:44 +0000)]
Fixed Assert check where ! should be !=.

27 years agoHere is a bug fix and some spelling changes for the complex number tutorial
Bruce Momjian [Sat, 28 Dec 1996 02:22:12 +0000 (02:22 +0000)]
Here is a bug fix and some spelling changes for the complex number tutorial
code. I have also written a complete complex number package based on this
tutorial; I will submit this as a contribution soon. Is there a particular
format for contributed tar files? I have a C source file, two SQL files, and a
Makefile.

Thomas Lockhart

27 years agoHere's the final set of patches to 6.0 (sup'd on 27/12/96) that allow a full
Bruce Momjian [Sat, 28 Dec 1996 02:13:05 +0000 (02:13 +0000)]
Here's the final set of patches to 6.0 (sup'd on 27/12/96) that allow a full
gmake of the code without interruption.

There's also some tidy-up of the MAXPATHLEN stuff based on the assumption that
all supported platforms have MAXPATHLEN defined in <sys/param.h>.

(The only unknowns for the above are AIX and IRIX5.)

27 years agoUpdated changes for 6.0.
Bruce Momjian [Sat, 28 Dec 1996 02:01:58 +0000 (02:01 +0000)]
Updated changes for 6.0.

27 years agoPatch for copy from stdin.
Bruce Momjian [Sat, 28 Dec 1996 01:57:13 +0000 (01:57 +0000)]
Patch for copy from stdin.

27 years agoAdd messages to assist in problem diagnosis. Eliminate lines > 80 characters.
Bryan Henderson [Fri, 27 Dec 1996 23:12:57 +0000 (23:12 +0000)]
Add messages to assist in problem diagnosis.  Eliminate lines > 80 characters.

27 years agoAdd asserts to check for file descriptor ring corruption.
Bryan Henderson [Fri, 27 Dec 1996 22:57:51 +0000 (22:57 +0000)]
Add asserts to check for file descriptor ring corruption.

27 years agoThere was JMP_BUF defined in config.h. And SIGJMP_BUF later.
Vadim B. Mikheev [Fri, 27 Dec 1996 13:13:58 +0000 (13:13 +0000)]
There was JMP_BUF defined in config.h. And SIGJMP_BUF later.
And now - JMP_BUF again. Is it enough, folks ?

Fixed again:
cc1: warnings being treated as errors
exc.c: In function 'ExcRaise':
exc.c:187: warning: passing arg 1 of 'Longjmp' from incompatible pointer type
gmake[3]: *** [exc.o] Error 1

27 years agoRemove use of "bool", which user program may not have defined. This .h file
Bryan Henderson [Thu, 26 Dec 1996 23:28:27 +0000 (23:28 +0000)]
Remove use of "bool", which user program may not have defined.  This .h file
gets included by libpq-fe.h, and thus is part of the API.

27 years agoRemove use of "bool", which user program may not have defined.
Bryan Henderson [Thu, 26 Dec 1996 23:27:16 +0000 (23:27 +0000)]
Remove use of "bool", which user program may not have defined.

27 years agoDocumentatoin update
Bruce Momjian [Thu, 26 Dec 1996 22:15:15 +0000 (22:15 +0000)]
Documentatoin update

27 years agopq/signal() portability patch. Also psql copy prompt fix.
Bruce Momjian [Thu, 26 Dec 1996 22:08:34 +0000 (22:08 +0000)]
pq/signal() portability patch.  Also psql copy prompt fix.

27 years agoFix syntax of \copy in \? display.
Bryan Henderson [Thu, 26 Dec 1996 20:56:40 +0000 (20:56 +0000)]
Fix syntax of \copy in \? display.

27 years agoAdded needed prototype.
Bruce Momjian [Thu, 26 Dec 1996 17:53:40 +0000 (17:53 +0000)]
Added needed prototype.

Bruce Momjian

27 years agoRemoval of unused CppConcat defines.
Bruce Momjian [Thu, 26 Dec 1996 17:53:24 +0000 (17:53 +0000)]
Removal of unused CppConcat defines.

Bruce Momjian

27 years agoNote the => changes to == after a connect and stays that way on subsequent
Bruce Momjian [Thu, 26 Dec 1996 17:52:46 +0000 (17:52 +0000)]
Note the => changes to == after a connect and stays that way on subsequent
database changes.

To fix, apply the following patch:-

Keith Parks.

27 years agoAdded include files needed for getpid prototype.
Bruce Momjian [Thu, 26 Dec 1996 17:50:26 +0000 (17:50 +0000)]
Added include files needed for getpid prototype.

Bruce Momjian

27 years agoChange %ud to %u
Bruce Momjian [Thu, 26 Dec 1996 17:49:56 +0000 (17:49 +0000)]
Change %ud to %u

Darren King.

27 years agoIn file: .../src/backend/postmaster/postmaster.c I found 3 leaks and
Bruce Momjian [Thu, 26 Dec 1996 17:49:05 +0000 (17:49 +0000)]
In file: .../src/backend/postmaster/postmaster.c I found 3 leaks and
probably a bug.
To find code added/modifyied, search "Fixed".

Gianluca Puggelli

27 years agoI have this annoying habit (among others) of putting
Bruce Momjian [Thu, 26 Dec 1996 17:47:42 +0000 (17:47 +0000)]
I have this annoying habit (among others) of putting
%ud in a printf format strings instead of just %u.

There were three occurances of this in catalog_utils.c,
two in parser.c and one in rewriteSupport.c in the oid
patch that I submitted and was applied.  They won't crash
anything, but the error messages will have a 'd' after the
Oid.  Annoying, but none are db-threatening.

Sorry about that folks...I'll be more careful in the future...

Darren King

27 years agoIn src/backend/catalog/pg_operator.c in OperatorDef, there
Bruce Momjian [Thu, 26 Dec 1996 17:46:07 +0000 (17:46 +0000)]
In src/backend/catalog/pg_operator.c in OperatorDef, there
are three SearchSysCacheTuple(PRONAME,...) calls that use three
different macros to convert the typeId array of Oids.

Darren King

27 years agoRemoval of CppConcat from indexam.c.
Bruce Momjian [Thu, 26 Dec 1996 17:44:46 +0000 (17:44 +0000)]
Removal of CppConcat from indexam.c.

As an example I sent a bug-report on 26 Nov to tell that the fix included
below is necessary to compile pg95-current on Ultrix with Digital's
standard C compiler c89. In fact I think that this fix is needed
for any C compiler sticking very close the standard, see my discussion
in the original bug report.

Erik Bertelsen

27 years agoAdded mention of CUSTOM_COPT to file.
Bruce Momjian [Thu, 26 Dec 1996 17:39:58 +0000 (17:39 +0000)]
Added mention of CUSTOM_COPT to file.

27 years agoClarify error message about trying to PQgetvalue() nonexistent row.
Bryan Henderson [Tue, 24 Dec 1996 09:03:16 +0000 (09:03 +0000)]
Clarify error message about trying to PQgetvalue() nonexistent row.

27 years agoFix Solaris stuff so it compiles. Thanks Keith Parks.
Bryan Henderson [Mon, 23 Dec 1996 10:16:54 +0000 (10:16 +0000)]
Fix Solaris stuff so it compiles.  Thanks Keith Parks.

27 years agoAdd some quotes so it works on more shells.
Bryan Henderson [Mon, 23 Dec 1996 08:50:27 +0000 (08:50 +0000)]
Add some quotes so it works on more shells.

27 years agoAdd cast to quiet compiler warning.
Bryan Henderson [Mon, 23 Dec 1996 08:39:27 +0000 (08:39 +0000)]
Add cast to quiet compiler warning.

27 years agoFix multiple "C" from backend.
Bruce Momjian [Fri, 20 Dec 1996 20:34:38 +0000 (20:34 +0000)]
Fix multiple "C" from backend.

27 years agoRemove NOTIFY_PATCH.
Bruce Momjian [Fri, 20 Dec 1996 20:33:46 +0000 (20:33 +0000)]
Remove NOTIFY_PATCH.

27 years agoImprove handling of semicolons ending statements.
Bruce Momjian [Fri, 20 Dec 1996 20:33:12 +0000 (20:33 +0000)]
Improve handling of semicolons ending statements.

27 years agoRename parameter.
Bruce Momjian [Fri, 20 Dec 1996 20:31:31 +0000 (20:31 +0000)]
Rename parameter.

27 years agoMake sure user is running GNU make.
Bryan Henderson [Thu, 19 Dec 1996 08:03:46 +0000 (08:03 +0000)]
Make sure user is running GNU make.

27 years agoAdd two new comments to pglibtcl...
Marc G. Fournier [Thu, 19 Dec 1996 05:02:51 +0000 (05:02 +0000)]
Add two new comments to pglibtcl...

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

27 years agoMore patches/documentation from: Massimo Dal Zotto <dz@cs.unitn.it>
Marc G. Fournier [Thu, 19 Dec 1996 05:01:17 +0000 (05:01 +0000)]
More patches/documentation from: Massimo Dal Zotto <dz@cs.unitn.it>

27 years agoCOPY_PATCH...
Marc G. Fournier [Thu, 19 Dec 1996 04:58:24 +0000 (04:58 +0000)]
COPY_PATCH...

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

27 years agoAdd various comments to explain #define's and add a few extra #define's
Marc G. Fournier [Thu, 19 Dec 1996 04:56:35 +0000 (04:56 +0000)]
Add various comments to explain #define's and add a few extra #define's

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

27 years ago#ifdef ASYNC_DEBUG various sections of async.c
Marc G. Fournier [Thu, 19 Dec 1996 04:54:56 +0000 (04:54 +0000)]
#ifdef ASYNC_DEBUG various sections of async.c

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

27 years agoMake GROUP BY work with aliases, ORDER BY with column numbers
Bruce Momjian [Tue, 17 Dec 1996 01:53:43 +0000 (01:53 +0000)]
Make GROUP BY work with aliases, ORDER BY with column numbers

27 years agoPut sys/types.h before sys/timeb.h so Ultrix compiles.
Bryan Henderson [Mon, 16 Dec 1996 03:34:52 +0000 (03:34 +0000)]
Put sys/types.h before sys/timeb.h so Ultrix compiles.

27 years agoRemove __P macro usage so it compiles without cdefs.h.
Bryan Henderson [Sun, 15 Dec 1996 09:21:37 +0000 (09:21 +0000)]
Remove __P macro usage so it compiles without cdefs.h.

27 years agoMake compile on AIX, Alpha OSF. Thanks Darren King, Igor Notanzon.
Bryan Henderson [Sun, 15 Dec 1996 09:05:53 +0000 (09:05 +0000)]
Make compile on AIX, Alpha OSF.  Thanks Darren King, Igor Notanzon.

27 years agoFix over fix: JMP_BUF gone away and we have SIGJMP_BUF now.
Vadim B. Mikheev [Sat, 14 Dec 1996 08:26:34 +0000 (08:26 +0000)]
Fix over fix: JMP_BUF gone away and we have SIGJMP_BUF now.
Excuse me.

27 years ago if (settings->opt.fieldSep);
Vadim B. Mikheev [Sat, 14 Dec 1996 08:20:18 +0000 (08:20 +0000)]
       if (settings->opt.fieldSep);
                                      ^ - deleted
                free(settings->opt.fieldSep);

27 years agoAvoiding:
Vadim B. Mikheev [Sat, 14 Dec 1996 07:56:05 +0000 (07:56 +0000)]
Avoiding:
cc1: warnings being treated as errors
datum.c: In function `DatumGetSize':
datum.c:57: warning: unsigned value >= 0 is always 1
gmake[3]: *** [datum.o] Error 1

There was:
    if (byVal) {
        if (len >= 0 && len <= sizeof(Datum)) {

but len has type Size (unsigned int) and so now there is:
    if (byVal) {
        if (len <= sizeof(Datum)) {

27 years agoconst register ... --> register const ...
Vadim B. Mikheev [Sat, 14 Dec 1996 06:08:14 +0000 (06:08 +0000)]
const register ... --> register const ...

27 years agoAvoiding
Vadim B. Mikheev [Sat, 14 Dec 1996 05:55:27 +0000 (05:55 +0000)]
Avoiding
cc1: warnings being treated as errors
exc.c: In function 'ExcRaise':
exc.c:186: warning: passing arg 1 of 'Longjmp' from incompatible pointer type
gmake[3]: *** [exc.o] Error 1

Now we have:
#if defined (JMP_BUF)
        longjmp(efp->context, 1);
#else
        siglongjmp(efp->context, 1);
#endif

27 years agoAvoiding
Vadim B. Mikheev [Sat, 14 Dec 1996 05:20:39 +0000 (05:20 +0000)]
Avoiding
cc1: warnings being treated as errors
transsup.c: In function `TransBlockGetLastTransactionIdStatus':
transsup.c:122: warning: unsigned value >= 0 is always 1
gmake[3]: *** [transsup.o] Error 1
...

27 years agoUnuseful tupDesc = CreateTupleDesc(attr_count, attr); in CopyFrom
Vadim B. Mikheev [Sat, 14 Dec 1996 04:58:20 +0000 (04:58 +0000)]
Unuseful tupDesc = CreateTupleDesc(attr_count, attr); in CopyFrom
is eliminated (now I can copy 2000000-table from file without memmory
exhausting).

27 years agoClean up. Get rid of tabs and overly long lines.
Bryan Henderson [Fri, 13 Dec 1996 09:25:08 +0000 (09:25 +0000)]
Clean up.  Get rid of tabs and overly long lines.