Bruce Momjian
34945055a8
Changed make to gmake.
...
Added needed include file.
30 years ago
Bruce Momjian
4cf9d03ec7
Added prototypes missing from parser patch.
...
Added needed include file.
30 years ago
Bruce Momjian
08554e4abb
Removed false and changed to a commented true.
30 years ago
Marc G. Fournier
f1c95ed41e
Fix memset() call, variables being passed in wrong order.
...
Pointed out by: wieck@sapserv.debis.de
30 years ago
Marc G. Fournier
da7f60c9d3
Fixes: Incorrect syntax for copy command
...
By: Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
30 years ago
Marc G. Fournier
552620c8b2
Changes to libpgtcl submitted by: wieck@sapserv.debis.de (Jan Wieck)
...
Adds:
-lAttributes
Returns another format of the results attribute list. Per
attribute a sublist of {{attname} atttype attlen} is
returned and an empty string if no attributes where
received.
-numAttrs
Returns the number of attributes in the result.
30 years ago
Marc G. Fournier
582982e613
commit a newer IRIX FAQ from Andrew
30 years ago
Marc G. Fournier
5879b80da7
Commit a newer fact for 1.09 from Andrew
30 years ago
Marc G. Fournier
69c7f25bed
Fixes:
...
I found another bug in btree index. Looking at the code it seems that NULL
keys are never used to build or scan a btree index (see the explain commands
in the example). However this is not the case when a null key is retrieved
in an outer loop of a join select and used in an index scan of an inner loop.
This bug causes at least three kinds of problems:
1) the backend crashes when it tries to compare a text string with a null.
2) it is not possible to find tuples with null keys in a join.
3) null is considered equal to 0 when the datum is passed by value, see
the last query.
Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
30 years ago
Marc G. Fournier
6ada9dfdce
Fix up INSTALL file
...
From Andrew
30 years ago
Bruce Momjian
f59a46a8c8
Parser Overhaul
30 years ago
Bryan Henderson
1dfe4eaeb1
Fix small syntax error.
30 years ago
Bryan Henderson
aa71f918c3
Fix sigaction again to try for portability.
30 years ago
Bryan Henderson
71c1d59d1a
Remove another snprintf() for Solaris.
30 years ago
Marc G. Fournier
060f1d6a73
Slight changes to INSTALL to point ppl at the Linux/IRIX specific
...
FAQs
30 years ago
Marc G. Fournier
9826413f29
Add in Andrew's FAQs
30 years ago
Bryan Henderson
63481f0b92
Use strncpy() and local buffers instead of snprintf(), since not everyone
...
has snprintf().
30 years ago
Bryan Henderson
aa1eac7979
Make a local isblank() function, since not all standard C libraries have it.
...
For sparc_solaris, add inet_aton prototype, since it isn't in the header
files included for the standard C library functions.
30 years ago
Bryan Henderson
b13ffd34b3
Add our own copy of inet_aton() for sparc_solaris, which doesn't have it in
...
the standard C library.
30 years ago
Bryan Henderson
b0d6f0aa63
Simplify make files, add full dependencies.
30 years ago
Bryan Henderson
1e39d14ff3
Correct #if statement so it compiles on Solaris. Thanks Keith Parks.
30 years ago
Marc G. Fournier
87b48ff032
D'Arcy's cleanups
30 years ago
Marc G. Fournier
716d506a81
Make sure the btree patch gets into 2.0 as well...
...
Still submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
30 years ago
Bryan Henderson
e18d49d82a
Add CFLAGS+=-DPOSTPORT=... so we can take it out of the global CFLAGS.
30 years ago
Bryan Henderson
ec86e4b95b
Use EUROPEAN_DATES instead of EUROPEAN_STYLE
30 years ago
Bryan Henderson
3010f46d2a
E Use EUROPEAN_DATES from config.h instead of -D option
30 years ago
Marc G. Fournier
f6f8ca4970
Fixes: Growing backend when using nested function calls
...
Submitted by: wieck@sapserv.debis.de (Jan Wieck)
30 years ago
Marc G. Fournier
20b4c46e26
Fixes: Errors when PQexec() in backend creates temp
...
relations and transaction is aborted
Submitted by: wieck@sapserv.debis.de (Jan Wieck)
30 years ago
Marc G. Fournier
e152661200
Fixes:
...
It's bug in nodeAgg.c on lines 241, 242:
null_array = malloc(nagg);
for (i=0;i<nagg;i++)
null_array[i] = 'n';
oneTuple = heap_formtuple(tupType, tupValue, null_array);
- your query has not only aggregates but also 'group by-ed' fields and so
null_array should contain tupType->natts elements (tupType->natts > nagg in
your case).
Patch follows and it's very simple.
VAdim
30 years ago
Marc G. Fournier
c471d2bdeb
Take out the PERFECT_MMGR #ifdefs:
...
My guess is that the thing had bugs, and the pfree was commented out.
The thing is probabally free'ed anyway at the end, so it was not a bad
thing.
If it does cause a bug, it will generate an error when hit, so I say
unless someone else knows, let's remove it and run the regression test.
-Bruce
30 years ago
Marc G. Fournier
7f76072d81
Bruce...does this fix it once and for all? *grin*
30 years ago
Marc G. Fournier
f36b2560a4
Major code cleanups from D'arcy (-Wall -Werror)
30 years ago
Marc G. Fournier
29a0fb84fc
|I have moved things around so that things happen in the following order:
...
|
| 1. Set default variables
| 2. Include Makefile.custom to override defaults
| 3. Set CFLAGS, etc. with variables
|
|This fixes the problem of Makefile.custom changes not taking effect.
Submitted by: D'Arcy Cain
30 years ago
Bryan Henderson
2db54b8e4f
Update "planner" directory to "optimizer" in include paths in this dead code.
30 years ago
Marc G. Fournier
82b83f6f71
Cosmetic changes to ordering of #include files
30 years ago
Marc G. Fournier
9a7fda57ee
-Wall'd
30 years ago
Marc G. Fournier
aa907f7d0c
-Wall'd
30 years ago
Marc G. Fournier
8385d557d1
-Wall'd ... I missed a subdir under access :(
30 years ago
Marc G. Fournier
f47ffc9a4e
Make line 159:bp = NULL, to quiet compiler
...
Suggested by: Randy Terbush <randy@zyzzyva.com>
30 years ago
Marc G. Fournier
c9f8bad182
-Wall'd
...
That finishes access/*
30 years ago
Bryan Henderson
1363ca1d52
Force user to set PORTNAME. Remove NAMEDATALEN from CFLAGS (don't need it
...
there because it's in config.h, which is cleaner).
30 years ago
Marc G. Fournier
b446f38510
-Wall'd
30 years ago
Marc G. Fournier
ede7e6b045
-Wall'd
30 years ago
Marc G. Fournier
0452227989
-Wall Cleanup of gist subdirectory
30 years ago
Marc G. Fournier
95874fa034
-Wall cleanup of gist subdirectory:
...
- cleaned out unused variables
- added missing prototype headers
One outstanding -Werror failure:
/home/staff/scrappy/postgres/2.0/cvs/postgres95/src/backend/access/gist/giststra
t.c:117: warning: missing braces around initializer for `GISTEvaluationData.expr
ession'
30 years ago
Marc G. Fournier
8325d9fc3b
Define prototypes from giststrat.c required in gistscan.c
30 years ago
Marc G. Fournier
d458a1c747
Other then:
...
indextuple.c:159: warning: `bp' might be used uninitialized in this function
this directory passes -Wall -Werror under FreeBSD
30 years ago
Marc G. Fournier
597a1de903
remove an #ifdef/#else/#endif that doesn't actually have anything inside
...
of it
30 years ago
Marc G. Fournier
2217b1ccd8
Make default HAVE_MEMMOVE defined, undef inside of definitions for sparc
30 years ago
Marc G. Fournier
331bb53b0f
change '#if defined(PORTNAME_sparc)' to '#if !defined(HAVE_MEMMOVE)'
30 years ago