Commit Graph

2366 Commits

Author SHA1 Message Date
Vadim B. Mikheev 32cd09ac6d Good Bye, Time Travel! 1997-11-02 15:27:14 +00:00
Bruce Momjian 6cc0a00dec Fix acl error, and remove duplicate pqtrace. 1997-11-01 05:21:57 +00:00
Bruce Momjian 1e7ba76e43 Indexes for LIKE and ~, !~ operations. 1997-10-31 00:50:39 +00:00
Bruce Momjian 0308f91cd2 No more warnings on macros, thanks VAdim. 1997-10-30 23:37:01 +00:00
Bruce Momjian fcb47f8884 Remember release.txt change. 1997-10-30 22:37:28 +00:00
Bruce Momjian 818f2644e9 Update version to 6.3. dump/reload for 6.1 version users. 1997-10-30 22:09:04 +00:00
Bruce Momjian 65c00f7e80 We have multi-column indexes, so update manual. 1997-10-30 18:41:03 +00:00
Bruce Momjian ef1fc0c90d FIx for SCO compiles. 1997-10-30 18:31:47 +00:00
Bruce Momjian 0e58306857 Fix for java to allow password, european dates,from Peter T Mount 1997-10-30 18:24:44 +00:00
Bruce Momjian 2cc73c0d42 FIx for libptcl make, from Tatsuo Ishii. 1997-10-30 17:36:58 +00:00
Bruce Momjian 9a8fcee342 Patch for tcl library crash, from Jan Wieck. 1997-10-30 17:29:57 +00:00
Bruce Momjian 9f133d23ff Remove duplocate lock_timeout value. 1997-10-30 17:23:59 +00:00
Thomas G. Lockhart e037c351d4 Update for modified quoting style in some error messages. 1997-10-30 16:53:51 +00:00
Thomas G. Lockhart be74113f76 Add initial backend support for SET/SHOW/RESET TIME ZONE.
Uses TZ environment variable.
 Needs additional schemes for brain-dead SQL92 time offsets.
1997-10-30 16:52:11 +00:00
Thomas G. Lockhart 0dd738148c Support SQL92 delimited identifiers by checking some attribute names
for mixed-case and surrounding with double quotes.
1997-10-30 16:48:03 +00:00
Thomas G. Lockhart cc1b420cfd Add routines istrue() and isfalse() to directly evaluate boolean type. 1997-10-30 16:45:12 +00:00
Thomas G. Lockhart 770352d279 Add support for SQL92 delimited identifiers.
Add support for SQL3 IS TRUE and IS FALSE.
Augment support for SQL92 SET TIME ZONE...
1997-10-30 16:39:27 +00:00
Thomas G. Lockhart 0a9be2db9b Add support for delimited identifiers. Include new exclusive state "xd".
Remove unused ScanString variable and code.
1997-10-30 16:36:39 +00:00
Thomas G. Lockhart 0175759e17 Fix up elog messages for consistant usage of quotes around arguments. 1997-10-30 16:34:22 +00:00
Bruce Momjian 80440a51fa Fix for international identifiers, from Tatsuo Ishii 1997-10-30 15:28:25 +00:00
Bruce Momjian 06d88ecb17 Fix for when POSIX time not defined. 1997-10-30 14:06:47 +00:00
Bruce Momjian 1017ddd003 Fix for java timestamp type from teunis@sigil.computersupportcentre.com 1997-10-30 13:55:41 +00:00
Vadim B. Mikheev 6cfe951a42 CREATE PROCEDURAL LANGUAGE mans (Jan). 1997-10-30 05:38:20 +00:00
Bruce Momjian 43514b8485 Irix LORDER addition. 1997-10-30 05:36:38 +00:00
Bruce Momjian 58ed1232f5 Fix for netbsd locking, from Henry B. Hotz. 1997-10-30 05:24:19 +00:00
Bruce Momjian e2617c856e Fix for compile warning, from Ernst Molitor. 1997-10-30 05:07:58 +00:00
Bruce Momjian 5680f8795f Fix for array handling, from Gerhard Hintermayer 1997-10-30 05:00:56 +00:00
Bruce Momjian 1dfde614a4 Make configure more automated, from Brook Milligan. 1997-10-30 04:46:45 +00:00
Bruce Momjian cf1bfb3588 Fix for perl from Brook Milligan 1997-10-30 04:38:30 +00:00
Bruce Momjian a47158a0e1 Add script to check regression tests. 1997-10-30 04:27:14 +00:00
Bruce Momjian c35d7fb835 Rename pg_dump -H option to -h. 1997-10-30 03:59:59 +00:00
Bruce Momjian 868859b7e3 AIX patch from Darren King. 1997-10-30 03:37:28 +00:00
Bruce Momjian 9939e55513 Remove strcasecmp for univel. 1997-10-30 03:28:18 +00:00
Bruce Momjian d48006180c Generate error on large integer. 1997-10-30 01:55:49 +00:00
Bruce Momjian 97b1bb2281 New backend_dir html source. 1997-10-29 23:48:18 +00:00
Vadim B. Mikheev 5071d3124a Added support for shlib for BSD44_derived & i386_solaris. 1997-10-28 15:13:10 +00:00
Vadim B. Mikheev 7bff4c5078 Now we are able to CREATE PROCEDURAL LANGUAGE (Thanks, Jan). 1997-10-28 15:11:45 +00:00
Bruce Momjian 9db2992640 Rename postgres95 to postgresql. 1997-10-28 03:20:31 +00:00
Bruce Momjian ee08c36dd3 New backend dirs html file. 1997-10-27 17:53:38 +00:00
Bruce Momjian 8cae12b13b Add new html development tools, and flow chart. 1997-10-27 16:59:20 +00:00
Vadim B. Mikheev 6855820e8f c.h:
#define StrNCpy(dst,src,len)    \
	(strncpy((dst),(src),(len)),(len > 0) ? *((dst)+(len)-1)='\0' : \
	NULL,(void)(dst))
	     ^^^^^^ - to avoid "value computed is not used" from gcc
	in ma-a-any places (should to fix thouse places instead, but ...
	time)

config.h.in:
/*
 * TBL_FREE_CMD_MEMORY: free memory allocated for an user query inside
 * transaction block after this query is done.
 */
#define TBL_FREE_CMD_MEMORY
- this is default now.
1997-10-27 12:07:13 +00:00
Vadim B. Mikheev 9b3d93293a Free ascii representations of compared values! 1997-10-27 12:00:43 +00:00
Vadim B. Mikheev a2c476b555 Use shared lock when building indices 1997-10-27 11:52:43 +00:00
Vadim B. Mikheev 110ba08a12 Fix binary cursors broken by MOVE implementation.
(Thanks to Bruce for finding what caused problem).
1997-10-27 08:55:16 +00:00
Thomas G. Lockhart f15eeff1bd Modify to reflect changes in boolean input behavior (rejects bad input
rather than assuming FALSE).
1997-10-25 06:03:08 +00:00
Thomas G. Lockhart ac357fb44c Remove extraneous row from user_relns table. Don't know where it came from... 1997-10-25 06:01:21 +00:00
Thomas G. Lockhart 2cad160f13 Have compiler use 486 instruction set. (Should add item in linux FAQ). 1997-10-25 05:58:56 +00:00
Thomas G. Lockhart f10b639237 Add SQL92 "constants" CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP,
CURRENT_USER.
Add syntax for primary and foreign keys.
Change optional syntax in CREATE INDEX to avoid parsing conflict with
 TIMESTAMP WITH TIME ZONE data type (use USING <class> rather than WITH...).
Decouple various categories of data type syntax to allow the most possible
 non-ambiguous extensions to SQL92 for column names and labels. This should
 make the parser a bit more understandable, or at least easier to find
 where and how the data types are handled.
Support syntax for IN and EXISTS clauses with subselects.
Support SQL92 syntax for IS TRUE/IS FALSE/IS NOT TRUE/IS NOT FALSE.
1997-10-25 05:56:41 +00:00
Thomas G. Lockhart 27d0d1a159 Add SQL92 reserved words for primary and foreign keys.
Add keywords for national character types.
Shorted date/time keyword token names for convenience.
Add SQL3 reserved words TRUE and FALSE.
1997-10-25 05:44:11 +00:00
Thomas G. Lockhart 60fee0d67c Add conversion routines for int2, int4, and oid to and from text.
Change a few routine names to ensure <= 16 characters in name
 to fit correctly into pg_proc.
1997-10-25 05:40:43 +00:00
Thomas G. Lockhart 7f06f34636 Change column number constant to reflect change in column name
from "action" to "ev_action".
1997-10-25 05:38:52 +00:00
Thomas G. Lockhart e9bb359d3e Change embedded query to reflect column name change from "action"
to "ev_action".
1997-10-25 05:37:07 +00:00
Thomas G. Lockhart c5173fc58c Rename "TYPE" parser keyword token from P_TYPE to TYPE_P to conform
to changes in parser.
1997-10-25 05:34:07 +00:00
Thomas G. Lockhart d8e260646e Reassign cash/float4 arithmetic operator oids to avoid duplicate oids. 1997-10-25 05:31:55 +00:00
Thomas G. Lockhart a9a91b54c6 Add conversion functions for int2, int4, oid to and from text.
Shorten a few routine names to <= 16 characters long to fit in table.
1997-10-25 05:29:48 +00:00
Thomas G. Lockhart b5f582b7ab Rename column to avoid "action" SQL92 reserved word. 1997-10-25 05:25:10 +00:00
Thomas G. Lockhart 4fa25b8c99 Shorten routine names to <= 16 characters to fit in pg_proc table. 1997-10-25 05:22:58 +00:00
Thomas G. Lockhart c0087c9faf Add conversion routines for oid to and from text. 1997-10-25 05:21:54 +00:00
Thomas G. Lockhart 08b1a09ee0 Clean up comments. 1997-10-25 05:21:10 +00:00
Thomas G. Lockhart 317acd0818 Add conversions for int2 and int4 to and from text. 1997-10-25 05:19:22 +00:00
Thomas G. Lockhart 2c1557a2ff Fix occasional uninitialized variable fractional seconds
in DecodeTimeOnly(). Only present when seconds are not specified
 for input.
1997-10-25 05:18:17 +00:00
Thomas G. Lockhart 9f99e4c6b6 Add conversion from datetime to time data type.
Rename date+time conversion to datetime to ensure less than 16 characters
 in routine name (required to fit in pg_proc table).
1997-10-25 05:16:09 +00:00
Thomas G. Lockhart 0d6facbad6 Modify one last line to complete changes for StrNCpy() macro addition.
Before, char16 was missing last character for output.
1997-10-25 05:12:38 +00:00
Thomas G. Lockhart 4677f0a255 Add debugging statement enabled by CASHDEBUG symbol definition. 1997-10-25 05:11:06 +00:00
Thomas G. Lockhart 3eb1bc67b1 Check explicitly for valid input strings for both TRUE and FALSE.
Allow true/false, yes/no, 1/0. Throw elog warning if anything else.
Allow shorter strings, so "t", "tr", "tru" and "true" match "true".
Old behavior accepted anything starting with "t" as TRUE,
 everything else as FALSE.
1997-10-25 05:09:58 +00:00
Bruce Momjian 789d075021 StrNCpy cleanup. 1997-10-25 02:14:22 +00:00
Bruce Momjian f3af1368bd Rename strNcpy to StrNCpy, and change third parameter. 1997-10-25 01:10:58 +00:00
Bruce Momjian 8b53f6e5b6 Fix alignment of source. 1997-10-24 15:51:37 +00:00
Vadim B. Mikheev eca199d7b0 Debug stuff added to BlowawayRelationBuffers(). 1997-10-22 19:04:43 +00:00
Vadim B. Mikheev bd305f3f06 Fix multi-column index scans in internal pages. 1997-10-22 19:02:52 +00:00
Bruce Momjian 8f4559d0e1 Fix \. in manual page. 1997-10-22 02:08:38 +00:00
Bruce Momjian 8a1a39c390 Update for 6.2.1 1997-10-18 16:59:06 +00:00
Vadim B. Mikheev 9620c7566f DEFAULT fixed 1997-10-17 11:35:33 +00:00
Vadim B. Mikheev fcfb4d1df6 Changes due to fixed DEFAULT behaviour. 1997-10-17 09:59:09 +00:00
Thomas G. Lockhart 962c8bd66d Accept additional values for TRUE: y, Y, 1.
Leave all other input values to return FALSE.
In next version, do more checking for valid inputs for both TRUE and FALSE.
1997-10-17 05:38:32 +00:00
Thomas G. Lockhart 9c800b8e48 Fix delta time decoding for 12 AM/PM. 1997-10-17 05:36:01 +00:00
Bruce Momjian b268758a3b New function PQcmdTuples. 1997-10-17 02:11:49 +00:00
Bruce Momjian ed966c4617 Updates for 6.2.1. Update pgaccess to 0.61. Add to HISTORY. 1997-10-16 17:32:07 +00:00
Vadim B. Mikheev 05a436b327 DROP TRIGGER. 1997-10-16 06:59:23 +00:00
Vadim B. Mikheev 9b10d6ffda Ignore copies of columns specified in ORDER/GROUP BY 1997-10-16 06:58:38 +00:00
Bruce Momjian a805635d21 Cleanups for 6.2.1. 1997-10-16 04:14:30 +00:00
Vadim B. Mikheev 78351f422b Fix for backward cursors with ORDER BY. 1997-10-15 06:36:36 +00:00
Thomas G. Lockhart b0df88745d Include SQL/92 string continuation across newlines.
Allows the following example:
  select 'first string'
  '---'
  'last string';
 to be output as 'first string---last string'.
1997-10-15 01:12:21 +00:00
Thomas G. Lockhart ba2358896a Fix final function for cash avg() aggregate.
Wrong function referenced in previous versions.
1997-10-15 01:08:25 +00:00
Vadim B. Mikheev 14f81d8d34 Decrement relation reference count incremented in
RelationIdCacheGetRelation() to flush relations from cache
in commit time.
1997-10-12 07:12:03 +00:00
Vadim B. Mikheev defb10a450 DEFAULT is handled by analyze.c now. 1997-10-12 07:09:20 +00:00
Thomas G. Lockhart c927f80fe4 Use P_TYPE rather than TYPE_P (which will be the name in the next release). 1997-10-09 05:43:59 +00:00
Thomas G. Lockhart 0f66d799a3 Allow both TIME and TYPE as column and table names. 1997-10-09 05:35:30 +00:00
Thomas G. Lockhart 070d494464 Clean up function declarations for the boolean type package
to use bool as the type for arguments and return values.
1997-10-09 05:07:25 +00:00
Thomas G. Lockhart a21c3e353a Allow 't', 'T', and even/odd ASCII characters to denote true/false
rather than just 't' and 'T'.  This allows yes/no and 1/0
 to be interpreted as one might expect.
Clean up function declarations to use bool as the type for arguments
 and return values.
1997-10-09 05:06:12 +00:00
Thomas G. Lockhart 8fe55efd7b Support special values 'now', 'current', etc on output. 1997-10-09 05:02:17 +00:00
Thomas G. Lockhart f54cc390e1 Allow TIME in column and table names (SQL/92 non-reserved word). 1997-10-09 05:00:54 +00:00
Thomas G. Lockhart 8bd813d6be Fix error in ordering of arguments. 1997-10-09 04:59:37 +00:00
Bruce Momjian 577b0584aa Update to version 0.51. 1997-10-03 23:11:26 +00:00
Marc G. Fournier f1bfc520c0 We never do remember to up the PG_VERSION number, do we? :( 1997-10-03 17:31:29 +00:00
Bruce Momjian 4aab22fcda Update to 0.5. 1997-10-03 15:47:17 +00:00
Bruce Momjian 83cd375cd2 Linux/alpha patch from Dan Maynard 1997-10-03 15:27:18 +00:00
Thomas G. Lockhart 8b028b5c2d From JM de Lauwereyns (jmlauwer@icdc.caissedesdepots.fr):
lconv is already taken as a struct identifier defined in a /usr/include file.
Only has an effect with USE_LOCALE enabled.
(Apparently unique to AIX and/or AIX compiler? thomas)
1997-10-03 13:10:06 +00:00
Bruce Momjian d663f1c839 Sparc lock fix for Linux/netbsd. 1997-10-02 18:32:58 +00:00
Vadim B. Mikheev 953e9e2b3c + MOVE
+ CREATE TRIGGER
Little changes for create table.
1997-10-02 13:58:06 +00:00
Vadim B. Mikheev abb0e707da Dump DEFAULT, CHECK, Triggers.
Fix BASETYPE for aggregates with sfunc2 only.
1997-10-02 13:57:07 +00:00
Vadim B. Mikheev 1b677e7e34 Fix \ handling 1997-10-02 13:52:29 +00:00
Vadim B. Mikheev 0c8ef6e5cb MOVE command 1997-10-02 03:15:11 +00:00
Vadim B. Mikheev 61a72beda5 A word about constraint nature of DEFAULT. 1997-10-02 02:50:22 +00:00
Marc G. Fournier bf125ca401 Bring in a "registration" file to be printed out after the user has
performed a 'make install'

Uses 'more', which should be standard across all systems, I hope?
1997-10-02 00:59:35 +00:00
Bruce Momjian f477db7705 Update manuals for 6.2 release. 1997-10-01 19:42:53 +00:00
Bruce Momjian 7566949a97 Update manuals for 6.2 release. 1997-10-01 19:30:59 +00:00
Bruce Momjian a127aafca7 Update manuals for 6.2 release. 1997-10-01 19:24:21 +00:00
Bruce Momjian c03c6857b7 Update manuals for 6.2 release. 1997-10-01 19:14:35 +00:00
Bruce Momjian c83beeff06 Update manuals for 6.2 release. 1997-10-01 19:08:48 +00:00
Bruce Momjian 140f728658 Update manuals for 6.2 release. 1997-10-01 18:57:48 +00:00
Bruce Momjian 59509a0711 Update manuals for 6.2 release. 1997-10-01 18:53:28 +00:00
Bruce Momjian 627730fa47 Update PQntuples now returns rows affected. 1997-10-01 18:14:53 +00:00
Thomas G. Lockhart 7cd15c47d8 Document NOT NULL for table creation.
Clarify usage of date_part() for timespan data type.
1997-10-01 17:05:16 +00:00
Bruce Momjian dec1889a73 Update to 0.4. 1997-10-01 15:38:59 +00:00
Bruce Momjian 4a226f0a7e Update to 0.4 version. 1997-10-01 15:13:14 +00:00
Bruce Momjian 1d3290e7ff Fix permits. 1997-09-30 18:40:37 +00:00
Bruce Momjian cb9604f2ac Add support for NetBSD/sparc. 1997-09-30 16:21:42 +00:00
Bruce Momjian a4cffdcf82 HPUX 10 fix. 1997-09-30 15:19:32 +00:00
Vadim B. Mikheev a788027724 Little changes. 1997-09-30 09:50:28 +00:00
Vadim B. Mikheev 7a5d3fbd9b STATEMENT triggers are not implemented - elog (WARN). 1997-09-30 09:49:54 +00:00
Bruce Momjian da707e4224 Cleanup. 1997-09-30 03:28:02 +00:00
Bruce Momjian 6238d836a1 Update readme. 1997-09-30 02:47:27 +00:00
Bruce Momjian f19ccf932e Update pgtcl to 0.3. Update README. 1997-09-30 00:22:43 +00:00
Marc G. Fournier 8e4169c786 Update to the newest version before beta12, and add a README file
from Constantin...
1997-09-29 21:06:48 +00:00
Marc G. Fournier 65818b6bf0 From: Peter T Mount <patches@maidast.demon.co.uk>
This patch fixes a few results in DatabaseMetaData, and updates the README
and TODO files (the later being a new file).

The TODO file lists the things that need to be looked into after 6.2 is
released, and describes the problem with Large Objects.
1997-09-29 20:11:51 +00:00
Marc G. Fournier 46032338cd Bring in Constantin's PGaccess TCL interface (v0.21) 1997-09-29 20:06:06 +00:00
Vadim B. Mikheev 3f6381d7e7 Fix error indicator for SPI_getvalue() and SPI_getbinval() 1997-09-29 06:28:45 +00:00
Vadim B. Mikheev 51689ece82 MOVE implementation (added bool ismove to FetchStmt). 1997-09-29 06:01:46 +00:00
Vadim B. Mikheev 5a447b4a26 MOVE implementation. 1997-09-29 05:59:16 +00:00
Bruce Momjian 4b9fb26648 HPUX patches from Vladimir Turin. 1997-09-29 03:27:18 +00:00
Bruce Momjian a638f6625b Cleanup tmp files for ccsym. 1997-09-28 16:57:44 +00:00
Marc G. Fournier 1337751e50 From: Darren King <darrenk@insightdist.com>
I asked for this a long time ago and Frank Dana recently has
indicated that using lbsd on aix breaks the timezone code.
1997-09-28 10:10:36 +00:00
Marc G. Fournier fb269b4675 From: CNT systemen BV <cntsys@cistron.nl>
I've found a problem in the Postgresql jdbc driver.
"ReceiveInteger" shifts a received byte right instead of left.
This means that only the least significant byte is read into the int.

Reviewed by: Peter T Mount <patches@maidast.demon.co.uk>
1997-09-28 10:05:15 +00:00
Bruce Momjian 9cd2680f93 ccsym cleanup. 1997-09-28 04:23:04 +00:00
Bruce Momjian a28c50ad3b Changed location of libpgtcl stuff. 1997-09-27 19:35:04 +00:00
Bruce Momjian cae19f61e3 Changed location of libpgtcl stuff. 1997-09-27 19:28:40 +00:00
Bruce Momjian fc50064d85 Changed location of libpgtcl stuff. 1997-09-27 19:13:56 +00:00
Bruce Momjian 16440d79bb Cleanup for find_keywords. 1997-09-27 17:25:48 +00:00
Bruce Momjian 87251d17f8 Cleanup for find_keywords. 1997-09-27 17:22:05 +00:00
Bruce Momjian 65b1ed4712 Add fiel to list keywords. 1997-09-27 16:42:21 +00:00
Bruce Momjian 725a03eb4b Make GetAttributeByNum visible again for external use. 1997-09-27 14:37:21 +00:00
Thomas G. Lockhart 384d4f6eba Update catalog lists for v6.2.
Add documentation of some text functions.
Add descriptions of some new SQL/92-compatible string functions.
1997-09-27 04:37:33 +00:00
Thomas G. Lockhart c19bd8c764 Use "man drop" as an introduction to all drop commands.
Create explicit drop_table man page (copied from old drop man page).
1997-09-27 04:36:02 +00:00
Bruce Momjian fcc0320b69 Manual page cleanup. 1997-09-27 03:58:29 +00:00
Bruce Momjian 2ab3d65900 Update manual pages. 1997-09-27 03:14:20 +00:00
Marc G. Fournier 802fc5f770 This gets things to compile...past this I'll have to test from home, or
someone will have to tell me
1997-09-27 00:05:23 +00:00
Marc G. Fournier 1fdd834672 Nothing in this file right now, but will contain appropriate 'chmod's
so that permissions are set for the end release...
1997-09-26 22:06:30 +00:00
Bruce Momjian c30b8f9dbd AIX float fix. 1997-09-26 20:32:02 +00:00
Bruce Momjian 5e2c0a87c9 Fix for psort temp file names, from Vadim. 1997-09-26 20:05:47 +00:00
Thomas G. Lockhart 544992c3d7 Include information on new DEFAULT and CONSTRAINT clauses. 1997-09-26 15:21:27 +00:00
Thomas G. Lockhart 09cfab3a7f Include references to other "drop" man pages. 1997-09-26 15:20:12 +00:00
Thomas G. Lockhart 5acd45f6fd Initial docs for Vadim's new trigger capabilities. 1997-09-26 15:13:09 +00:00
Thomas G. Lockhart b105324f7e Fix SUBSTRING(str FROM int TO int) parsing. 1997-09-26 15:09:11 +00:00
Vadim B. Mikheev 142d42f938 Scripts to run queries and data. 1997-09-26 14:57:36 +00:00
Vadim B. Mikheev dbde5caeed Some results. 1997-09-26 14:55:44 +00:00
Vadim B. Mikheev cf76759f34 Start with performance suite. 1997-09-26 14:55: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
Marc G. Fournier 99048aca00 Get these two files finally committed for Peter...sorry for delay :( 1997-09-26 08:22:21 +00:00
Edmund Mergl c5d49902fb *** empty log message *** 1997-09-25 21:15:04 +00:00
Bruce Momjian 4a98c5763e Back out inclusion of postgres.h. 1997-09-25 16:52:23 +00:00
Bruce Momjian 2f4275327e Massive examples fix from Nicola Bernardelli 1997-09-25 16:35:52 +00:00
Bruce Momjian 0384d37083 Fix for libpgtcl from Constantin Teodorescu. 1997-09-25 15:48:51 +00:00
Thomas G. Lockhart 5004b99e92 Tatsuo's patch to fix alignment problems in structure for RISC machines. 1997-09-25 14:11:42 +00:00
Thomas G. Lockhart e008c68408 One more change to recover v6.1.1 escaped-text input behavior.
Should be changed for v6.3!
1997-09-25 14:10:23 +00:00
Thomas G. Lockhart 4293adc117 Disable checking for zero or one points with deeper parens on input.
Polygon input would not accept single-point polygon output and dump.
1997-09-25 14:09:04 +00:00
Vadim B. Mikheev 6be30fb524 Fix handling of functions with non-attribute first argument in WHERE
clauses.
1997-09-25 12:48:15 +00:00
Vadim B. Mikheev c42f7f1460 Fix GROUP BY when order of entries is different from order in target list. 1997-09-25 12:21:15 +00:00
Vadim B. Mikheev bb0cc20e64 Fix handling of SPI_tuptable. 1997-09-25 12:16:05 +00:00
Bruce Momjian be5241420a S_LOCK_FREE fix. 1997-09-25 01:48:58 +00:00
Bruce Momjian ebb3008dbd Fix for S_FREE_LOCK. 1997-09-24 23:37:26 +00:00
Thomas G. Lockhart d77a506307 Use additional ORDER BY to cope with new sorting routines. 1997-09-24 17:55:38 +00:00
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