Marc G. Fournier
07c8d9f0f3
COPY_PATCH...
...
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
30 years ago
Marc G. Fournier
dc97a7b90e
Add various comments to explain #define's and add a few extra #define's
...
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
30 years ago
Marc G. Fournier
f0bcb1762d
#ifdef ASYNC_DEBUG various sections of async.c
...
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
30 years ago
Bruce Momjian
db7a90f1d9
Make GROUP BY work with aliases, ORDER BY with column numbers
30 years ago
Bryan Henderson
ec105b6026
Put sys/types.h before sys/timeb.h so Ultrix compiles.
30 years ago
Bryan Henderson
fa9c0fff36
Remove __P macro usage so it compiles without cdefs.h.
30 years ago
Bryan Henderson
9fc7250d3a
Make compile on AIX, Alpha OSF. Thanks Darren King, Igor Notanzon.
30 years ago
Vadim B. Mikheev
290d3b5198
Fix over fix: JMP_BUF gone away and we have SIGJMP_BUF now.
...
Excuse me.
30 years ago
Vadim B. Mikheev
cbb131570e
if (settings->opt.fieldSep);
...
^ - deleted
free(settings->opt.fieldSep);
30 years ago
Vadim B. Mikheev
4556a50cf8
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)) {
30 years ago
Vadim B. Mikheev
14ad435294
const register ... --> register const ...
30 years ago
Vadim B. Mikheev
25eb9e2a66
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
30 years ago
Vadim B. Mikheev
02ba3cf871
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
...
30 years ago
Vadim B. Mikheev
b555822fed
Unuseful tupDesc = CreateTupleDesc(attr_count, attr); in CopyFrom
...
is eliminated (now I can copy 2000000-table from file without memmory
exhausting).
30 years ago
Bryan Henderson
255363f859
Clean up. Get rid of tabs and overly long lines.
30 years ago
Bruce Momjian
ea8b5196ff
Small regression and doc patch
30 years ago
Bruce Momjian
1b929d1749
Postgres95 to PostgreSQL.
30 years ago
Bruce Momjian
7af262d2a7
Require seimcolons between statements.
30 years ago
Bryan Henderson
7439ba64b1
Use "Oid" type where applicable and %ud instead of %d. Thanks Darren King.
30 years ago
Bruce Momjian
9b41da6ce4
Rename postgres95 to PostgreSQL. Add comment for SELECT NULL
30 years ago
Bryan Henderson
7f36a2a718
Fix bug: libpq clients (which include libpq-fe.h) won't compile.
30 years ago
Bryan Henderson
2697c27923
sigjmp_buf/jmp_buf is backwards, so backend doesn't compile.
30 years ago
Bryan Henderson
7492fb165f
Fix bug: libpq clients (which include libpq-fe.h) won't compile.
...
Plus: sigjmp_buf/jmp_buf is backwards, so backend doesn't compile.
30 years ago
Bryan Henderson
41b3674754
Add empty "dep:" target.
30 years ago
Marc G. Fournier
0861594cb3
No change...just a test to make sure I didn't screw anything up
30 years ago
Bryan Henderson
9e60c1711d
Monitor has been obsoleted by psql.
30 years ago
Bryan Henderson
33edbdb59b
Remove include of libpq-fe.h. This file has nothing to do with libpq.
30 years ago
Bryan Henderson
79729c0e5e
Add comments defining "typelem" column of pg_type.
30 years ago
Bryan Henderson
b36e3042e7
Add comments describing interface to heap_getattr().
30 years ago
Bryan Henderson
6cfb12e0cf
Add CUSTOM_CC variable for Makefile.custom. Thanks Kurt Lidl.
30 years ago
Bruce Momjian
8cedf57eb1
Reduce printing from debug level 2 ande layout change.
30 years ago
Bruce Momjian
2e20099e32
Reduce printing from deub level 2 ande layout change.
30 years ago
Bruce Momjian
c0941ab7f0
Remove Dan's fix of SELECT NULL to fix INSERT NULL.
30 years ago
Bruce Momjian
7f8b8b9e42
Fix for SELECT NULL.
30 years ago
Bruce Momjian
c90c058bf0
Fix from Jan agreed with by Massimo.
30 years ago
Vadim B. Mikheev
4e064c0560
_bt_updateitem is returned in code, but works only if sizes of keys
...
are equal.
30 years ago
Vadim B. Mikheev
c3e10a4caf
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.
30 years ago
Bruce Momjian
64397b758f
Remove duplicate patch for COUNT fix.
30 years ago
Bryan Henderson
9005a38bdb
Change portname "sparc" to "sunos4" and change some portname dependencies to
...
feature dependencies. Thanks Kurt J. Lidl.
30 years ago
Bruce Momjian
071797f539
Change tests to lowercase for esthetics.
30 years ago
Vadim B. Mikheev
e5fbe3017c
pname=NULL -> pname="" (stringinfo.c:appendStringInfo doesn't like NULL).
30 years ago
Bruce Momjian
f2af019645
Make COUNT,SUM case insensitive.
30 years ago
Bryan Henderson
514d69bdbf
Remove #if defined(bsdi) define SIGJMP_BUF, per Kurt Lidl.
30 years ago
Bruce Momjian
58193362bd
Reduce regression diffs
30 years ago
Bruce Momjian
5f9bdb7641
Reduce regression diff size with timezone changes and cleanup.
30 years ago
Bruce Momjian
7980b8a5cc
Fix for inclusion of new prompt output.
30 years ago
Bruce Momjian
1eae8e1228
Fix compiler warning about unitialized variables.
30 years ago
Bruce Momjian
63df35e249
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
30 years ago
Bruce Momjian
f0a9e64afd
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
30 years ago
Bruce Momjian
87352726b2
Change end-of-line comma to semicolon.
30 years ago