Commit Graph

2044 Commits

Author SHA1 Message Date
Thomas G. Lockhart 16d65f5c25 Add SQL/92 "constants" current_date, current_time, and current_timestamp.
Add SQL/92 types decimal and numeric (temporary for syntax support).
 These types need more support in the backend to be really implemented,
 and the parser will need to be changed at that time.
Adjust limits on precision parameters for FLOAT(p) to match IEEE-compliant
 arithmetic. Perhaps these limits should be processor-specific or obtained
 from system include files instead.
1997-09-24 17:53:53 +00:00
Thomas G. Lockhart ba8763c500 Add SQL/92 types decimal and numeric.
Add SQL/92 "constants" current_date, current_time, and current_timestamp.
1997-09-24 17:49:56 +00:00
Thomas G. Lockhart 53ad0aa262 Restore proper behavior for escaped quotes and for escaped literals
like newline inside quoted strings.
1997-09-24 17:48:25 +00:00
Thomas G. Lockhart c7dbd366ba Remove debugging "puts" print statement. 1997-09-24 17:46:14 +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
Bruce Momjian e00f0ea39e Fix for pg_dump. 1997-09-24 16:20:04 +00:00
Bruce Momjian 9eaaf36f04 Update configure. 1997-09-24 15:57:28 +00:00
Bruce Momjian 28c2edcb3d Remove aix power pc. 1997-09-24 15:49:46 +00:00
Bruce Momjian 55780ae0e8 Remove extra float.h I added. 1997-09-24 15:40:59 +00:00
Bruce Momjian 837f0cbea0 CREATE FUNCTION fixup for types of functions. 1997-09-24 15:36:36 +00:00
Bruce Momjian 77d514a550 Rollback changes to pg_dump.c 1997-09-24 15:14:02 +00:00
Vadim B. Mikheev c13454edc2 Timetravel tests. 1997-09-24 08:36:47 +00:00
Vadim B. Mikheev 76271543ae Added: ttdummy() - variation of timetravel() function
for regress test.
1997-09-24 08:35:10 +00:00
Vadim B. Mikheev 1777ba4c80 + SPI_palloc(), SPI_repalloc(), SPI_pfree() 1997-09-24 08:32:09 +00:00
Vadim B. Mikheev f79b7a56b4 Allow use functions with no arguments in DEFAULT
Allow use IDENT as arguments of trigger functions
1997-09-24 08:31:04 +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
Bruce Momjian f0b9b2152e HPUX 10 patch. 1997-09-24 04:20:29 +00:00
Bruce Momjian 11b4a9689d Add -S to top of manual page. 1997-09-24 03:20:54 +00:00
Bruce Momjian 88325bd010 AIX fixes. 1997-09-23 22:53:47 +00:00
Bruce Momjian a572fc229b Fix for CREATE FUNCTION. 1997-09-23 21:44:07 +00:00
Bruce Momjian cad3e709fe Fix for backslash quote. 1997-09-23 19:47:59 +00:00
Bruce Momjian 38d2ca5418 AIx patch from Frank Dana. 1997-09-23 17:43:33 +00:00
Bruce Momjian bcdd0a93ed Cleanup. 1997-09-23 00:02:44 +00:00
Bruce Momjian 09dfed4022 Cleanup backslashes. 1997-09-22 18:14:25 +00:00
Bruce Momjian a2a0842d1c Fix for missing tas on some platforms. 1997-09-22 15:59:19 +00:00
Bruce Momjian 85f7555132 Small lock cleanup for prototype. 1997-09-22 15:49:14 +00:00
Vadim B. Mikheev 5fb82eb4c7 Blowaway relation buffers from buffer pool before truncation:
+ BlowawayRelationBuffers(relation, blocknumber)
1997-09-22 07:13:56 +00:00
Vadim B. Mikheev 708f67c7a9 Blowaway relation buffers from buffer pool before truncation. 1997-09-22 07:12:33 +00:00
Vadim B. Mikheev 94e52d38df Two copies... 1997-09-22 04:21:51 +00:00
Vadim B. Mikheev 90d490059d Have to PROC_INCR_SLOCK before return. 1997-09-22 04:20:53 +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
Vadim B. Mikheev c2c26b6ff0 +#include <access/xact.h> 1997-09-22 03:58:32 +00:00
Bruce Momjian 2a8bea900a Configure OS cleanup. 1997-09-21 22:54:19 +00:00
Bruce Momjian 08566431c4 Make manual page for pg_passwd from README. 1997-09-21 04:54:36 +00:00
Thomas G. Lockhart 1556e62573 Output changed for new ORDER BY to cope with new sorting routines. 1997-09-20 16:37:02 +00:00
Thomas G. Lockhart 7971fb0d79 Output changed to reflect extra entries from new regression tests. 1997-09-20 16:35:34 +00:00
Thomas G. Lockhart 8bb569105a Change ORDER BY to get consistant results with new sorting routines. 1997-09-20 16:34:08 +00:00
Thomas G. Lockhart d8ec518000 Update results count to reflect bad entries now being rejected by new decoder. 1997-09-20 16:33:24 +00:00
Thomas G. Lockhart 68cd097e89 Change ORDER BY to get more consistant results. 1997-09-20 16:31:44 +00:00
Thomas G. Lockhart 354a18fcb2 Add tinterval comparison operators.
Add integer/money arithmetic.
1997-09-20 16:29:38 +00:00
Thomas G. Lockhart aae2420e8b Add point_ne() comparison routine. 1997-09-20 16:25:28 +00:00
Thomas G. Lockhart d0ab9c3f81 Add tinterval comparison routines. 1997-09-20 16:24:39 +00:00
Thomas G. Lockhart 2b83160dca Add integer/money arithmetic from Darren King. 1997-09-20 16:23:47 +00:00
Thomas G. Lockhart 75aef05530 Add point_ne() function.
Fix up tabbing of most function declarations.
1997-09-20 16:22:31 +00:00
Thomas G. Lockhart cc8dc825d8 Fix typo for default units for timespan input.
Place single-ticks around bad argument in elog messages.
Fix tabbing of large lookup tables (ugh).
1997-09-20 16:20:29 +00:00
Thomas G. Lockhart fbf12681ab Include tinterval comparison functions for span of interval. 1997-09-20 16:17:45 +00:00
Thomas G. Lockhart 5984746113 Include functions for integer/money arithmetic. 1997-09-20 16:15:34 +00:00
Thomas G. Lockhart eba607d8e5 Fix up elog warning messages. 1997-09-20 16:14:05 +00:00
Thomas G. Lockhart 3bb89a27ee Add support for FLOAT(p) SQL/92 data type.
Allow ALTER TABLE ADD ( column ) syntax.
1997-09-20 16:11:44 +00:00
Thomas G. Lockhart 007e4d9a07 Replace missing directory delimiter for postmaster installation command. 1997-09-20 16:08:24 +00:00
Marc G. Fournier fa67a247cf Bring in Peter's changes...finally :( 1997-09-20 02:21:25 +00:00
Bruce Momjian e9cd0f2e6b Update configure. 1997-09-19 22:02:26 +00:00
Marc G. Fournier ccca61b5fe 1997-06-15 Paul Eggert <eggert@twinsun.com>
* (src/backend/Makefile): Use `ln', not `cd;ln' so that installers
        can wrap ln.
1997-09-19 19:44:30 +00:00
Vadim B. Mikheev 6c84398411 + _copyGroup(Group *from) 1997-09-19 06:52:49 +00:00
Bruce Momjian 34ec62058a Fix \e and \p after query. 1997-09-19 03:42:39 +00:00
Bruce Momjian 3f365ba0fc Inline memset() as MemSet(). 1997-09-18 20:22:58 +00:00
Bruce Momjian c3072cb1f0 Have to do [[ ]] in configure.in. 1997-09-18 19:57:31 +00:00
Bruce Momjian 0f928c2d21 UPdate memset macro. 1997-09-18 18:48:32 +00:00
Bruce Momjian 79cb0fd9bb Cleanup for memset macro. 1997-09-18 17:06:21 +00:00
Marc G. Fournier 220941dac5 Add in srandom() check to configure
Add appropriate HAVE_{RANDOM,SRANDOM} values to config.h
Add approrpiate #ifdef's to sparc_solaris port files for Solaris v2.6
1997-09-18 16:09:41 +00:00
Vadim B. Mikheev 2a3e28282e QUERY: SELECT p.name, p.age FROM person* p ORDER BY age using >;
^^^^^^ - new order of tuples (due to psort changes)
1997-09-18 14:45:33 +00:00
Vadim B. Mikheev a6e0803a7f No more SortTuplesInTree... 1997-09-18 14:42:35 +00:00
Vadim B. Mikheev b0ccd78479 Don't limit number of tuples in leftist trees!
Use qsort to sort array of tuples for nextrun when current
run is done and put into leftist tree from sorted array!
It's much faster and creates non-bushy tree - this is ve-e-ery good
for perfomance!
1997-09-18 14:41:56 +00:00
Vadim B. Mikheev 8f1e1b4551 No more SortTuplesInTree... 1997-09-18 14:33:46 +00:00
Vadim B. Mikheev 4948a51d74 Convert sequence names tolower. 1997-09-18 14:32:15 +00:00
Vadim B. Mikheev 2de0da358d ALTER TABLE ADD COLUMN: set atthasdef to FALSE. 1997-09-18 14:31:38 +00:00
Bruce Momjian 8cb4154492 Inline frequently called functions. 1997-09-18 14:21:02 +00:00
Vadim B. Mikheev bbe2c10c14 Addded to Psortstate:
lt_tupcount - number of tuples in struct leftist *Tuples
	lasttuple   - last tuple put to disk by createfirstrun()
1997-09-18 05:42:01 +00:00
Vadim B. Mikheev 7ffd2c09c8 + SortTuplesInTree 1997-09-18 05:38:09 +00:00
Vadim B. Mikheev 712ea2507e 1. Use qsort for first run
2. Limit number of tuples in leftist trees:
	- put one tuple from current tree to disk if limit reached;
	- end run creation if limit reached by nextrun.
3. Avoid mergeruns() if first run is single one!
1997-09-18 05:37:31 +00:00
Vadim B. Mikheev 303f6514bd + int SortTuplesInTree = 2560;
(default value for max number of tuples in leftist tree)
1997-09-18 05:23:58 +00:00
Vadim B. Mikheev 10971a6f81 Allow set max number of tuples in leftist tree for sorts
(-S memory,tuples)
1997-09-18 05:19:17 +00:00
Thomas G. Lockhart 36b54847cb Add explicit test for various comment syntaxes. 1997-09-18 03:54:19 +00:00
Thomas G. Lockhart 1d9ad887cd Explicitly test various comment syntaxes. 1997-09-18 03:52:43 +00:00
Thomas G. Lockhart c407a38742 Add syntax and warnings for unsupported ALTER TABLE commands
including DROP COLUMN, SET CONSTRAINT, etc.
1997-09-18 03:46:18 +00:00
Marc G. Fournier 359cd689f8 Ack, I missed a template file here :( 1997-09-18 01:32:14 +00:00
Edmund Mergl 9d575627af *** empty log message *** 1997-09-17 20:53:35 +00:00
Edmund Mergl 5ec6055648 *** empty log message *** 1997-09-17 20:51:36 +00:00
Edmund Mergl 364efd1029 adapted to pgsql-v6.2 1997-09-17 20:48:15 +00:00
Edmund Mergl 9e74edda05 *** empty log message *** 1997-09-17 20:46:29 +00:00
Bruce Momjian b02086b303 Remove extra backets in tr test. 1997-09-17 20:14:16 +00:00
Bruce Momjian f05642bbcc Linux seems to have 3/4/5/686. 1997-09-16 18:51:49 +00:00
Bruce Momjian f3a58f2639 Makefile cleanup. 1997-09-16 18:47:36 +00:00
Bruce Momjian df7a435587 Mklinux patch from Tatsuo. 1997-09-16 16:25:28 +00:00
Thomas G. Lockhart 2b4be93787 Modify to match current expected output
after adding separate sections for DEFAULT and CHECK.
1997-09-16 16:17:19 +00:00
Thomas G. Lockhart b8967bfeec Add explicit, separate test sections for DEFAULT and CHECK.
Use conventions common to other regression test input files.
Leave non-temporary files at end of test.
1997-09-16 16:15:52 +00:00
Thomas G. Lockhart 829354d849 Remove extraneous blank lines from error messages. 1997-09-16 16:13:58 +00:00
Thomas G. Lockhart 31174f11d0 Remove difftime() calls.
Still uses time_t declarations, but most code will be changed for next release.
1997-09-16 16:12:55 +00:00
Thomas G. Lockhart 43163cf5d6 Fix string conversions for operators in DEFAULT and CHECK clauses. 1997-09-16 16:11:20 +00:00
Bruce Momjian 0829d2dba8 Remove uint32 from inet_aton file. 1997-09-16 16:09:59 +00:00
Bruce Momjian 604ce32e46 Add .eo to pgbuiltin. 1997-09-16 03:01:43 +00:00
Bruce Momjian 8c09eded1a Remove NO_MK_LORDER from Solaris. 1997-09-16 02:53:24 +00:00
Bruce Momjian 84ad06dd78 Manual cleanup for textcat. 1997-09-16 02:49:23 +00:00
Vadim B. Mikheev f3e9cf9c6b Fix pfree problem. 1997-09-15 14:29:01 +00:00
Vadim B. Mikheev feb78cda0c -S need in optarg... 1997-09-15 14:28:16 +00:00
Bruce Momjian 9b7f362d0a -Linux configure additoin, libtcl Makefile patch. 1997-09-14 23:34:16 +00:00
Bruce Momjian 90bcec36c1 To find uint32 on AIX. 1997-09-14 04:06:20 +00:00
Bruce Momjian 0a3cee72ac Add mention of heap_getattr() compiler warning. 1997-09-14 03:59:44 +00:00
Marc G. Fournier ba0b03de2e Let's hope this fixes the "bug" that was introduced 1997-09-13 16:27:13 +00:00
Bruce Momjian 48fd8b3e8f Cleanup of use of settings as pointer and structure, and ps. 1997-09-13 13:03:41 +00:00