Bruce Momjian
679d39b9c8
Goodbye ABORT. Hello ERROR for all errors.
1998-01-07 21:07:04 +00:00
Bruce Momjian
0d9fc5afd6
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 03:35:55 +00:00
Bruce Momjian
4b05912f0b
Fix for count(*), aggs with views and multiple tables and sum(3).
1998-01-04 04:31:43 +00:00
Bruce Momjian
a544b605e2
Change some mallocs to palloc.
1997-12-29 05:13:57 +00:00
Bruce Momjian
4ce24c8aa9
UNION work for UNION ALL and other union stuff.
1997-12-27 06:41:41 +00:00
Bruce Momjian
d404f1006b
Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2).
1997-12-22 05:42:25 +00:00
Marc G. Fournier
6e337eef45
Major cleanout of PORTNAME variables from Makefiles...bound to screw up
...
some of the ports...
1997-12-20 00:29:35 +00:00
Bruce Momjian
6a45941f2f
Remove Existential, and ifdef out generate_fjoin. Neither did anything.
1997-12-18 12:54:45 +00:00
Marc G. Fournier
542d4e528d
First pass through, of many to come, towards making the whole source
...
tree "non-PORTNAME" dependent. Technically, anything that is PORTNAME
dependent should be able to be derived at compile time, through configure
or through gcc
1997-12-17 04:59:16 +00:00
Bruce Momjian
c60f70b53f
Rename pg_plan and pg_eval to be more meaningful.
1997-12-11 17:36:58 +00:00
Bruce Momjian
002796b5ca
Rename heap_destroyr to heap_destroy, heap_destroy to heap_destroy_with_catalog.
1997-11-28 17:28:02 +00:00
Bruce Momjian
c445ba331b
Rename heap_create to heap_create_and_catatlog, rename heap_creatr to heap_create().
1997-11-28 04:40:40 +00:00
Bruce Momjian
db00632e0f
Cleaups of comments.
1997-11-27 02:23:02 +00:00
Bruce Momjian
983ec2cb4b
Make parser functions static where possible.
1997-11-26 03:54:23 +00:00
Bruce Momjian
598e86f3b3
Cleanup up include files.
1997-11-26 01:14:33 +00:00
Bruce Momjian
4a5b781d71
Break parser functions into smaller files, group together.
1997-11-25 22:07:18 +00:00
Bruce Momjian
f7f2e18f8e
Remove tqual.h includes not needed.
1997-11-24 05:09:50 +00:00
Bruce Momjian
629e27284d
Remove unused files.
1997-11-21 18:22:04 +00:00
Bruce Momjian
3fa2bb316c
Remove archive stuff.
1997-11-21 18:12:58 +00:00
Bruce Momjian
e9e1ff226f
Remove all time travel stuff. Small parser cleanup.
1997-11-20 23:24:03 +00:00
Vadim B. Mikheev
21261b031c
Call ExecEvalExpr with &isDone (not with NULL).
1997-11-19 05:28:14 +00:00
Thomas G. Lockhart
c2f4779ddf
Define prototype for ExecutorLimit() to avoid compiler complaints.
1997-11-17 16:41:04 +00:00
Bruce Momjian
5aaf00f3f3
Remove NOT_USED for Massimo.
1997-11-05 21:18:59 +00:00
Vadim B. Mikheev
9b3d93293a
Free ascii representations of compared values!
1997-10-27 12:00:43 +00:00
Bruce Momjian
f3af1368bd
Rename strNcpy to StrNCpy, and change third parameter.
1997-10-25 01:10:58 +00:00
Vadim B. Mikheev
defb10a450
DEFAULT is handled by analyze.c now.
1997-10-12 07:09:20 +00:00
Vadim B. Mikheev
3f6381d7e7
Fix error indicator for SPI_getvalue() and SPI_getbinval()
1997-09-29 06:28:45 +00:00
Bruce Momjian
725a03eb4b
Make GetAttributeByNum visible again for external use.
1997-09-27 14:37:21 +00:00
Vadim B. Mikheev
561b35e556
Return error if char *query is null in SPI_prepare()
1997-09-26 13:57:39 +00:00
Vadim B. Mikheev
bb0cc20e64
Fix handling of SPI_tuptable.
1997-09-25 12:16:05 +00:00
Thomas G. Lockhart
0e699286d3
Coerce type of NULL pointer return to suppress gcc compiler warnings.
1997-09-24 17:45:21 +00:00
Vadim B. Mikheev
eec6108650
+ SPI_palloc(), SPI_repalloc(), SPI_pfree() - for allocations
...
in upper Executor memory context.
1997-09-24 08:28:37 +00:00
Vadim B. Mikheev
e7046924a5
Fix: Operand Order Affects OR.
...
where x <> 1 or x isnull
didn't return tuples with x NULL.
1997-09-22 04:19:36 +00:00
Bruce Momjian
3f365ba0fc
Inline memset() as MemSet().
1997-09-18 20:22:58 +00:00
Vadim B. Mikheev
f3e9cf9c6b
Fix pfree problem.
1997-09-15 14:29:01 +00:00
Vadim B. Mikheev
4587547f13
Added: SPI_copytuple() & SPI_modifytuple()
1997-09-12 08:37:52 +00:00
Vadim B. Mikheev
fd3ad7d765
Allow to call utility funcs without SPI_connect.
1997-09-12 05:11:14 +00:00
Bruce Momjian
1ea01720d5
heapattr functions now return a Datum, not char *.
1997-09-12 04:09:08 +00:00
Vadim B. Mikheev
6e04b4b20f
Use strcasecmp in SPI_fnumber(TupleDesc tupdesc, char *fname).
1997-09-12 02:42:40 +00:00
Vadim B. Mikheev
a74613f478
Cleanups.
1997-09-11 07:24:37 +00:00
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
1997-09-08 21:56:23 +00:00
Bruce Momjian
075cede748
Add typdefs to pgindent run.
1997-09-08 20:59:27 +00:00
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
1997-09-08 02:41:22 +00:00
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
1997-09-07 05:04:48 +00:00
Vadim B. Mikheev
bf1d9aeb97
Cleanups.
1997-09-06 11:23:05 +00:00
Vadim B. Mikheev
78d74e32fb
execMain.c: little changes in trigger interface...
...
spi.c: functions to prepare/run and preserve plans for
duration of transaction/session. Some data utilities.
1997-09-04 13:22:39 +00:00
Vadim B. Mikheev
283e18ab0e
BEFORE/AFTER ROW INSERT/DELETE/UPDATE triggers startup.
1997-09-01 08:01:46 +00:00
Vadim B. Mikheev
d65584d297
Get rid of #include "../backend/parser/parse.h
1997-08-31 11:41:20 +00:00
Vadim B. Mikheev
0b6dc93b32
Add spi.o
1997-08-30 10:28:47 +00:00
Vadim B. Mikheev
0d0254d1fb
SPI manager.
1997-08-29 09:05:57 +00:00