OSDN Git Service
Bruce Momjian [Sat, 28 Dec 1996 23:07:54 +0000 (23:07 +0000)]
Fix expected regression output.
Bruce Momjian [Sat, 28 Dec 1996 22:46:40 +0000 (22:46 +0000)]
Fixed errors in create statement.
Bruce Momjian [Sat, 28 Dec 1996 22:44:58 +0000 (22:44 +0000)]
Fixed error where = should be ==.
Bruce Momjian [Sat, 28 Dec 1996 22:44:14 +0000 (22:44 +0000)]
Fixed Assert check where ! should be !=.
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
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.)
Bruce Momjian [Sat, 28 Dec 1996 02:01:58 +0000 (02:01 +0000)]
Updated changes for 6.0.
Bruce Momjian [Sat, 28 Dec 1996 01:57:13 +0000 (01:57 +0000)]
Patch for copy from stdin.
Bryan Henderson [Fri, 27 Dec 1996 23:12:57 +0000 (23:12 +0000)]
Add messages to assist in problem diagnosis. Eliminate lines > 80 characters.
Bryan Henderson [Fri, 27 Dec 1996 22:57:51 +0000 (22:57 +0000)]
Add asserts to check for file descriptor ring corruption.
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
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.
Bryan Henderson [Thu, 26 Dec 1996 23:27:16 +0000 (23:27 +0000)]
Remove use of "bool", which user program may not have defined.
Bruce Momjian [Thu, 26 Dec 1996 22:15:15 +0000 (22:15 +0000)]
Documentatoin update
Bruce Momjian [Thu, 26 Dec 1996 22:08:34 +0000 (22:08 +0000)]
pq/signal() portability patch. Also psql copy prompt fix.
Bryan Henderson [Thu, 26 Dec 1996 20:56:40 +0000 (20:56 +0000)]
Fix syntax of \copy in \? display.
Bruce Momjian [Thu, 26 Dec 1996 17:53:40 +0000 (17:53 +0000)]
Added needed prototype.
Bruce Momjian
Bruce Momjian [Thu, 26 Dec 1996 17:53:24 +0000 (17:53 +0000)]
Removal of unused CppConcat defines.
Bruce Momjian
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.
Bruce Momjian [Thu, 26 Dec 1996 17:50:26 +0000 (17:50 +0000)]
Added include files needed for getpid prototype.
Bruce Momjian
Bruce Momjian [Thu, 26 Dec 1996 17:49:56 +0000 (17:49 +0000)]
Change %ud to %u
Darren King.
Bruce Momjian [Thu, 26 Dec 1996 17:49:05 +0000 (17:49 +0000)]
In file: .../src/backend/postmaster/postc I found 3 leaks and
probably a bug.
To find code added/modifyied, search "Fixed".
Gianluca Puggelli
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
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
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
Bruce Momjian [Thu, 26 Dec 1996 17:39:58 +0000 (17:39 +0000)]
Added mention of CUSTOM_COPT to file.
Bryan Henderson [Tue, 24 Dec 1996 09:03:16 +0000 (09:03 +0000)]
Clarify error message about trying to PQgetvalue() nonexistent row.
Bryan Henderson [Mon, 23 Dec 1996 10:16:54 +0000 (10:16 +0000)]
Fix Solaris stuff so it compiles. Thanks Keith Parks.
Bryan Henderson [Mon, 23 Dec 1996 08:50:27 +0000 (08:50 +0000)]
Add some quotes so it works on more shells.
Bryan Henderson [Mon, 23 Dec 1996 08:39:27 +0000 (08:39 +0000)]
Add cast to quiet compiler warning.
Bruce Momjian [Fri, 20 Dec 1996 20:34:38 +0000 (20:34 +0000)]
Fix multiple "C" from backend.
Bruce Momjian [Fri, 20 Dec 1996 20:33:46 +0000 (20:33 +0000)]
Remove NOTIFY_PATCH.
Bruce Momjian [Fri, 20 Dec 1996 20:33:12 +0000 (20:33 +0000)]
Improve handling of semicolons ending statements.
Bruce Momjian [Fri, 20 Dec 1996 20:31:31 +0000 (20:31 +0000)]
Rename parameter.
Bryan Henderson [Thu, 19 Dec 1996 08:03:46 +0000 (08:03 +0000)]
Make sure user is running GNU make.
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>
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>
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>
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>
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>
Bruce Momjian [Tue, 17 Dec 1996 01:53:43 +0000 (01:53 +0000)]
Make GROUP BY work with aliases, ORDER BY with column numbers
Bryan Henderson [Mon, 16 Dec 1996 03:34:52 +0000 (03:34 +0000)]
Put sys/types.h before sys/timeb.h so Ultrix compiles.
Bryan Henderson [Sun, 15 Dec 1996 09:21:37 +0000 (09:21 +0000)]
Remove __P macro usage so it compiles without cdefs.h.
Bryan Henderson [Sun, 15 Dec 1996 09:05:53 +0000 (09:05 +0000)]
Make compile on AIX, Alpha OSF. Thanks Darren King, Igor Notanzon.
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.
Vadim B. Mikheev [Sat, 14 Dec 1996 08:20:18 +0000 (08:20 +0000)]
if (settings->opt.fieldSep);
^ - deleted
free(settings->opt.fieldSep);
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)) {
Vadim B. Mikheev [Sat, 14 Dec 1996 06:08:14 +0000 (06:08 +0000)]
const register ... --> register const ...
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
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
...
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).
Bryan Henderson [Fri, 13 Dec 1996 09:25:08 +0000 (09:25 +0000)]
Clean up. Get rid of tabs and overly long lines.
Bruce Momjian [Fri, 13 Dec 1996 02:39:00 +0000 (02:39 +0000)]
Small regression and doc patch
Bruce Momjian [Wed, 11 Dec 1996 22:58:16 +0000 (22:58 +0000)]
Postgres95 to PostgreSQL.
Bruce Momjian [Wed, 11 Dec 1996 22:55:53 +0000 (22:55 +0000)]
Require seimcolons between statements.
Bryan Henderson [Wed, 11 Dec 1996 03:18:12 +0000 (03:18 +0000)]
Use "Oid" type where applicable and %ud instead of %d. Thanks Darren King.
Bruce Momjian [Wed, 11 Dec 1996 00:28:15 +0000 (00:28 +0000)]
Rename postgres95 to PostgreSQL. Add comment for SELECT NULL
Bryan Henderson [Tue, 10 Dec 1996 07:05:12 +0000 (07:05 +0000)]
Fix bug: libpq clients (which include libpq-fe.h) won't compile.
Bryan Henderson [Tue, 10 Dec 1996 07:04:22 +0000 (07:04 +0000)]
sigjmp_buf/jmp_buf is backwards, so backend doesn't compile.
Bryan Henderson [Tue, 10 Dec 1996 07:03:43 +0000 (07:03 +0000)]
Fix bug: libpq clients (which include libpq-fe.h) won't compile.
Plus: sigjmp_buf/jmp_buf is backwards, so backend doesn't compile.
Bryan Henderson [Tue, 10 Dec 1996 03:40:23 +0000 (03:40 +0000)]
Add empty "dep:" target.
Marc G. Fournier [Tue, 10 Dec 1996 03:03:36 +0000 (03:03 +0000)]
No change...just a test to make sure I didn't screw anything up
Bryan Henderson [Mon, 9 Dec 1996 01:55:51 +0000 (01:55 +0000)]
Monitor has been obsoleted by psql.
Bryan Henderson [Mon, 9 Dec 1996 01:24:53 +0000 (01:24 +0000)]
Remove include of libpq-fe.h. This file has nothing to do with libpq.
Bryan Henderson [Mon, 9 Dec 1996 01:23:51 +0000 (01:23 +0000)]
Add comments defining "typelem" column of pg_type.
Bryan Henderson [Mon, 9 Dec 1996 01:22:17 +0000 (01:22 +0000)]
Add comments describing interface to heap_getattr().
Bryan Henderson [Mon, 9 Dec 1996 01:16:51 +0000 (01:16 +0000)]
Add CUSTOM_CC variable for Makefile.custom. Thanks Kurt Lidl.
Bruce Momjian [Sat, 7 Dec 1996 04:39:38 +0000 (04:39 +0000)]
Reduce printing from debug level 2 ande layout change.
Bruce Momjian [Sat, 7 Dec 1996 04:38:40 +0000 (04:38 +0000)]
Reduce printing from deub level 2 ande layout change.
Bruce Momjian [Sat, 7 Dec 1996 04:38:11 +0000 (04:38 +0000)]
Remove Dan's fix of SELECT NULL to fix INSERT NULL.
Bruce Momjian [Sat, 7 Dec 1996 04:37:06 +0000 (04:37 +0000)]
Fix for SELECT NULL.
Bruce Momjian [Sat, 7 Dec 1996 04:36:38 +0000 (04:36 +0000)]
Fix from Jan agreed with by Massimo.
Vadim B. Mikheev [Fri, 6 Dec 1996 09:45:30 +0000 (09:45 +0000)]
_bt_updateitem is returned in code, but works only if sizes of keys
are equal.
Vadim B. Mikheev [Fri, 6 Dec 1996 09:41:45 +0000 (09:41 +0000)]
1. _bt_compare fixed to work properly with new code in _bt_insertonpg
(old _bt_compare always returned >= 0 while comparing with P_HIKEY
on root page - it breaks root page when _bt_insertonpg tries insert
new minimal key into root page).
2. Fixed bug concerns "empty" pages: non-rightmost pages with only P_HIKEY
present on it. Such pages appear after vacuum.
Bruce Momjian [Wed, 4 Dec 1996 14:23:16 +0000 (14:23 +0000)]
Remove duplicate patch for COUNT fix.
Bryan Henderson [Wed, 4 Dec 1996 03:06:33 +0000 (03:06 +0000)]
Change portname "sparc" to "sunos4" and change some portname dependencies to
feature dependencies. Thanks Kurt J. Lidl.
Bruce Momjian [Tue, 3 Dec 1996 17:01:35 +0000 (17:01 +0000)]
Change tests to lowercase for esthetics.
Vadim B. Mikheev [Tue, 3 Dec 1996 05:50:11 +0000 (05:50 +0000)]
pname=NULL -> pname="" (stringinfo.c:appendStringInfo doesn't like NULL).
Bruce Momjian [Tue, 3 Dec 1996 05:06:35 +0000 (05:06 +0000)]
Make COUNT,SUM case insensitive.
Bryan Henderson [Tue, 3 Dec 1996 00:11:07 +0000 (00:11 +0000)]
Remove #if defined(bsdi) define SIGJMP_BUF, per Kurt Lidl.
Bruce Momjian [Mon, 2 Dec 1996 14:17:59 +0000 (14:17 +0000)]
Reduce regression diffs
Bruce Momjian [Mon, 2 Dec 1996 06:31:20 +0000 (06:31 +0000)]
Reduce regression diff size with timezone changes and cleanup.
Bruce Momjian [Sun, 1 Dec 1996 20:28:39 +0000 (20:28 +0000)]
Fix for inclusion of new prompt output.
Bruce Momjian [Sun, 1 Dec 1996 19:48:39 +0000 (19:48 +0000)]
Fix compiler warning about unitialized variables.
Bruce Momjian [Sat, 30 Nov 1996 18:07:02 +0000 (18:07 +0000)]
This patch changes quite a few instances of references of Oid's
as ints and longs. Touches on quite a few function args as
well. Most other files look ok as far as Oids go...still checking
though...
Since Oids are type'd as unsigned ints, they should prolly be used
with the %ud format string in elog and sprintf messages. Not sure
what kind of strangeness that could produce.
Darren King
Bruce Momjian [Sat, 30 Nov 1996 17:49:02 +0000 (17:49 +0000)]
As someone asked for this feature - patch for 1.09 follows.
Now You can do queries like
select sum(some_func(x)) from ...
select min(table1.x + table2.y) from table1, table2 where ...
and so on.
Vadim
Bruce Momjian [Sat, 30 Nov 1996 17:47:07 +0000 (17:47 +0000)]
Change end-of-line comma to semicolon.
Bruce Momjian [Sat, 30 Nov 1996 04:56:18 +0000 (04:56 +0000)]
Aded mention that != maps to <>.
Bruce Momjian [Sat, 30 Nov 1996 03:41:20 +0000 (03:41 +0000)]
Add indicator for in quote or in query to prompt.
Bruce Momjian [Sat, 30 Nov 1996 03:38:09 +0000 (03:38 +0000)]
Added BETWEEN and IN to grammar. Map != to <>.
Bruce Momjian [Fri, 29 Nov 1996 15:56:18 +0000 (15:56 +0000)]
Allow select oid,* from table. Allow * anywhere in target list.
Vadim B. Mikheev [Fri, 29 Nov 1996 10:29:45 +0000 (10:29 +0000)]
vrl_min_tlen added to VRelListData.
Vadim B. Mikheev [Fri, 29 Nov 1996 10:27:59 +0000 (10:27 +0000)]
Added: dynamic re-moving page from list of pages usable for shrinking
if its free-space < min_tuple_len.
Bryan Henderson [Fri, 29 Nov 1996 06:24:14 +0000 (06:24 +0000)]
Throw some double quotes on the pile!
Bruce Momjian [Fri, 29 Nov 1996 04:49:46 +0000 (04:49 +0000)]
Fix for BSDI compile.
Bruce Momjian [Thu, 28 Nov 1996 05:46:08 +0000 (05:46 +0000)]
Changed saved_relname size to save memory.
Vadim B. Mikheev [Thu, 28 Nov 1996 04:37:38 +0000 (04:37 +0000)]
Fix for "might be used uninitialized" warnings.
Bryan Henderson [Thu, 28 Nov 1996 03:32:18 +0000 (03:32 +0000)]
Make strdup work for Ultrix. Thanks Erik Bertelsen
Vadim B. Mikheev [Wed, 27 Nov 1996 15:15:54 +0000 (15:15 +0000)]
TransactionIdIsInProgress is commented out
Bruce Momjian [Wed, 27 Nov 1996 13:49:46 +0000 (13:49 +0000)]
Convert ' to " in dates. Update example code to show empty query as "".