OSDN Git Service

pg-rex/syncrep.git
26 years agoCleanups needed for indent.
Bruce Momjian [Fri, 5 Sep 1997 19:32:44 +0000 (19:32 +0000)]
Cleanups needed for indent.

26 years agoCleanups needed for indent. Remove };
Bruce Momjian [Fri, 5 Sep 1997 18:13:45 +0000 (18:13 +0000)]
Cleanups needed for indent.  Remove };

26 years agocleanup.
Bruce Momjian [Fri, 5 Sep 1997 17:04:22 +0000 (17:04 +0000)]
cleanup.

26 years agomissing backslash.
Bruce Momjian [Fri, 5 Sep 1997 16:31:48 +0000 (16:31 +0000)]
missing backslash.

26 years agoRestore CurScanPosition() for flex.
Vadim B. Mikheev [Fri, 5 Sep 1997 09:05:48 +0000 (09:05 +0000)]
Restore CurScanPosition() for flex.
Fix it for lex.

26 years agoCleanup.
Bruce Momjian [Fri, 5 Sep 1997 04:29:56 +0000 (04:29 +0000)]
Cleanup.

26 years agoBetter error reporting.
Bruce Momjian [Fri, 5 Sep 1997 04:18:36 +0000 (04:18 +0000)]
Better error reporting.

26 years agoAdd // comments.
Bruce Momjian [Fri, 5 Sep 1997 00:09:47 +0000 (00:09 +0000)]
Add // comments.

26 years agoMore tab cleanup.
Bruce Momjian [Thu, 4 Sep 1997 18:50:28 +0000 (18:50 +0000)]
More tab cleanup.

26 years agoAdd comparision routines to support indices on datetime and timespan.
Thomas G. Lockhart [Thu, 4 Sep 1997 18:44:29 +0000 (18:44 +0000)]
Add comparision routines to support indices on datetime and timespan.

26 years agoAdd comparision routines and catalog entries to support indices on
Thomas G. Lockhart [Thu, 4 Sep 1997 18:43:59 +0000 (18:43 +0000)]
Add comparision routines and catalog entries to support indices on
 datetime and timespan.

26 years agoTabs in comments fix.
Bruce Momjian [Thu, 4 Sep 1997 18:34:59 +0000 (18:34 +0000)]
Tabs in comments fix.

26 years agoFix for dashes in comments.
Bruce Momjian [Thu, 4 Sep 1997 16:36:32 +0000 (16:36 +0000)]
Fix for dashes in comments.

26 years agoFix conditional casting.
Bruce Momjian [Thu, 4 Sep 1997 16:20:55 +0000 (16:20 +0000)]
Fix conditional casting.

26 years agoFix syntax error in psql help.
Bruce Momjian [Thu, 4 Sep 1997 15:02:56 +0000 (15:02 +0000)]
Fix syntax error in psql help.

26 years agostruct Trigger changed
Vadim B. Mikheev [Thu, 4 Sep 1997 13:26:45 +0000 (13:26 +0000)]
struct Trigger changed

26 years agoPrototypes, definitions...
Vadim B. Mikheev [Thu, 4 Sep 1997 13:26:19 +0000 (13:26 +0000)]
Prototypes, definitions...

26 years agopg_trigger changed
Vadim B. Mikheev [Thu, 4 Sep 1997 13:25:14 +0000 (13:25 +0000)]
pg_trigger changed

26 years agoCREATE/DROP TRIGGER syntax
Vadim B. Mikheev [Thu, 4 Sep 1997 13:24:26 +0000 (13:24 +0000)]
CREATE/DROP TRIGGER syntax

26 years agoFixed _copyRangeTblEntry
Vadim B. Mikheev [Thu, 4 Sep 1997 13:24:01 +0000 (13:24 +0000)]
Fixed _copyRangeTblEntry

26 years agoexecMain.c: little changes in trigger interface...
Vadim B. Mikheev [Thu, 4 Sep 1997 13:22:39 +0000 (13:22 +0000)]
execMain.c: little changes in trigger interface...
spi.c: functions to prepare/run and preserve plans for
       duration of transaction/session. Some data utilities.

26 years agoBefore row insertion triggers call.
Vadim B. Mikheev [Thu, 4 Sep 1997 13:19:01 +0000 (13:19 +0000)]
Before row insertion triggers call.

26 years agoheap_destroy:RelationRemoveTriggers()
Vadim B. Mikheev [Thu, 4 Sep 1997 13:17:59 +0000 (13:17 +0000)]
heap_destroy:RelationRemoveTriggers()

26 years agoUPdate FAQ.
Bruce Momjian [Thu, 4 Sep 1997 05:34:47 +0000 (05:34 +0000)]
UPdate FAQ.

26 years agoFix syntax error.
Bruce Momjian [Wed, 3 Sep 1997 16:48:59 +0000 (16:48 +0000)]
Fix syntax error.

26 years agoRemove comment line in rules section. Keith reports trouble on Solaris
Thomas G. Lockhart [Tue, 2 Sep 1997 02:32:35 +0000 (02:32 +0000)]
Remove comment line in rules section. Keith reports trouble on Solaris
and O'Reilly "lex & yacc" book claims ATT-lex has trouble with comments.

26 years agoTriggers added to Relation
Vadim B. Mikheev [Mon, 1 Sep 1997 08:13:22 +0000 (08:13 +0000)]
Triggers added to Relation

26 years ago+ Member for actions in CreateTrigStmt.
Vadim B. Mikheev [Mon, 1 Sep 1997 08:11:57 +0000 (08:11 +0000)]
+ Member for actions in CreateTrigStmt.

26 years agoFunction prototypes.
Vadim B. Mikheev [Mon, 1 Sep 1997 08:10:12 +0000 (08:10 +0000)]
Function prototypes.

26 years ago#define TriggerRelationName "pg_trigger"
Vadim B. Mikheev [Mon, 1 Sep 1997 08:09:09 +0000 (08:09 +0000)]
#define  TriggerRelationName "pg_trigger"

26 years agotrigger_dynamic()->handle_load() func for loading SPI-triggers
Vadim B. Mikheev [Mon, 1 Sep 1997 08:06:17 +0000 (08:06 +0000)]
trigger_dynamic()->handle_load() func for loading SPI-triggers

26 years agoCalls of RelationBuildTriggers() & FreeTriggerDesc()
Vadim B. Mikheev [Mon, 1 Sep 1997 08:04:38 +0000 (08:04 +0000)]
Calls of RelationBuildTriggers() & FreeTriggerDesc()

26 years agoBEFORE/AFTER ROW INSERT/DELETE/UPDATE triggers startup.
Vadim B. Mikheev [Mon, 1 Sep 1997 08:01:46 +0000 (08:01 +0000)]
BEFORE/AFTER ROW INSERT/DELETE/UPDATE triggers startup.

26 years agoBEFORE/AFTER ROW INSERT triggers startup from CopyFrom()
Vadim B. Mikheev [Mon, 1 Sep 1997 07:59:06 +0000 (07:59 +0000)]
BEFORE/AFTER ROW INSERT triggers startup from CopyFrom()
RelationBuildTriggers() & FreeTriggerDesc() in trigger.c

26 years agoUpdate information and query results for upcoming v6.2 release.
Thomas G. Lockhart [Mon, 1 Sep 1997 06:21:00 +0000 (06:21 +0000)]
Update information and query results for upcoming v6.2 release.

26 years agoTest new intersection and closest point operators.
Thomas G. Lockhart [Mon, 1 Sep 1997 06:19:43 +0000 (06:19 +0000)]
Test new intersection and closest point operators.
Fix up results labels on queries.
Update existing queries which now return good results.

26 years agoTest new intersection and closest point operators.
Thomas G. Lockhart [Mon, 1 Sep 1997 06:18:45 +0000 (06:18 +0000)]
Test new intersection and closest point operators.
Fix up results labels on queries.

26 years agoTest for "current" time by comparing against "now".
Thomas G. Lockhart [Mon, 1 Sep 1997 06:16:08 +0000 (06:16 +0000)]
Test for "current" time by comparing against "now".

26 years agoShift time zone to GMT to correctly evaluate "current" time.
Thomas G. Lockhart [Mon, 1 Sep 1997 06:13:21 +0000 (06:13 +0000)]
Shift time zone to GMT to correctly evaluate "current" time.

26 years agoRearrange scanning code to support extended comments.
Thomas G. Lockhart [Mon, 1 Sep 1997 06:09:53 +0000 (06:09 +0000)]
Rearrange scanning code to support extended comments.
Use #define symbols rather than integers for scanning states.

26 years agoAdd structure for subselects.
Thomas G. Lockhart [Mon, 1 Sep 1997 06:04:59 +0000 (06:04 +0000)]
Add structure for subselects.
Add field to support "WITH TIME ZONE".

26 years agoAdd SQL92 string handling features (SUBSTRING, TRIM, EXTRACT).
Thomas G. Lockhart [Mon, 1 Sep 1997 06:00:35 +0000 (06:00 +0000)]
Add SQL92 string handling features (SUBSTRING, TRIM, EXTRACT).
Add parsing for UNION and outer JOINs.
Implement SQL92 "WITH TIME ZONE".
Allow some reserved words as identifiers and column labels.
Clean up indentation and "orphan spaces and tabs".

26 years agoAdd detection and warnings for UNION and HAVING clauses.
Thomas G. Lockhart [Mon, 1 Sep 1997 05:56:34 +0000 (05:56 +0000)]
Add detection and warnings for UNION and HAVING clauses.
Generate non-fatal warning only and proceed by ignoring clauses.

26 years agoAdd more reserved words, mostly for SQL92 compliance.
Thomas G. Lockhart [Mon, 1 Sep 1997 05:53:31 +0000 (05:53 +0000)]
Add more reserved words, mostly for SQL92 compliance.
Include reserved words for string handling, outer joins, and unions.

26 years agoUse exclusive states for parsing quoted strings.
Thomas G. Lockhart [Mon, 1 Sep 1997 05:51:52 +0000 (05:51 +0000)]
Use exclusive states for parsing quoted strings.
Implement extended comments ("/* ... */") using exclusive states.
Modify definitions of operators to remove some restrictions on characters
 and character order.

26 years agoFix return value data type declarations for box_circle() and poly_circle().
Thomas G. Lockhart [Mon, 1 Sep 1997 05:46:09 +0000 (05:46 +0000)]
Fix return value data type declarations for box_circle() and poly_circle().

26 years agoCREATE/DROP TRIGGER statement nodes
Vadim B. Mikheev [Sun, 31 Aug 1997 11:43:09 +0000 (11:43 +0000)]
CREATE/DROP TRIGGER statement nodes

26 years agoCREATE/DROP TRIGGER functions
Vadim B. Mikheev [Sun, 31 Aug 1997 11:42:21 +0000 (11:42 +0000)]
CREATE/DROP TRIGGER functions

26 years agoCREATE/DROP TRIGGER
Vadim B. Mikheev [Sun, 31 Aug 1997 11:41:55 +0000 (11:41 +0000)]
CREATE/DROP TRIGGER

26 years agoGet rid of #include "../backend/parser/parse.h
Vadim B. Mikheev [Sun, 31 Aug 1997 11:41:20 +0000 (11:41 +0000)]
Get rid of #include "../backend/parser/parse.h

26 years agoWorkplace for CREATE/DROP TRIGGER
Vadim B. Mikheev [Sun, 31 Aug 1997 11:40:13 +0000 (11:40 +0000)]
Workplace for CREATE/DROP TRIGGER

26 years agoIndexing of pg_trigger
Vadim B. Mikheev [Sun, 31 Aug 1997 09:56:18 +0000 (09:56 +0000)]
Indexing of pg_trigger

26 years agoWelcome, triggers
Vadim B. Mikheev [Sun, 31 Aug 1997 09:55:24 +0000 (09:55 +0000)]
Welcome, triggers

26 years agoUpdate patch from Peter <patches@maidast.demon.co.uk>
Marc G. Fournier [Sun, 31 Aug 1997 08:15:13 +0000 (08:15 +0000)]
Update patch from Peter <patches@maidast.demon.co.uk>

26 years agoAdd spi.o
Vadim B. Mikheev [Sat, 30 Aug 1997 10:28:47 +0000 (10:28 +0000)]
Add spi.o

26 years agoindent flag change.
Bruce Momjian [Fri, 29 Aug 1997 21:41:33 +0000 (21:41 +0000)]
indent flag change.

26 years agoCleanup.
Bruce Momjian [Fri, 29 Aug 1997 21:20:09 +0000 (21:20 +0000)]
Cleanup.

26 years agoAdd PGINDENT and support program.
Bruce Momjian [Fri, 29 Aug 1997 21:13:00 +0000 (21:13 +0000)]
Add PGINDENT and support program.

26 years agoTupleUpdatedByCurXactAndCmd () changed due to
Vadim B. Mikheev [Fri, 29 Aug 1997 09:12:20 +0000 (09:12 +0000)]
TupleUpdatedByCurXactAndCmd () changed due to
   Fix very old bug which made tuples changed/inserted by a commnd
visible to command itself (so we had multiple update of updated tuples,
etc).

26 years agoNew results destination for SPI manager.
Vadim B. Mikheev [Fri, 29 Aug 1997 09:06:27 +0000 (09:06 +0000)]
New results destination for SPI manager.

26 years agoSPI manager.
Vadim B. Mikheev [Fri, 29 Aug 1997 09:05:57 +0000 (09:05 +0000)]
SPI manager.

26 years agoFix very old bug which made tuples changed/inserted by a commnd
Vadim B. Mikheev [Fri, 29 Aug 1997 09:05:25 +0000 (09:05 +0000)]
Fix very old bug which made tuples changed/inserted by a commnd
visible to command itself (so we had multiple update of updated tuples,
etc).

26 years agoheap_getattr fix for aix.
Bruce Momjian [Fri, 29 Aug 1997 00:44:55 +0000 (00:44 +0000)]
heap_getattr fix for aix.

26 years agoFix time_cmp
Vadim B. Mikheev [Thu, 28 Aug 1997 05:06:29 +0000 (05:06 +0000)]
Fix time_cmp

26 years agoClean CommandInfo after posting to client.
Vadim B. Mikheev [Thu, 28 Aug 1997 05:05:43 +0000 (05:05 +0000)]
Clean CommandInfo after posting to client.

26 years agoFix for "default = '...'" in CREATE TYPE
Vadim B. Mikheev [Thu, 28 Aug 1997 05:02:01 +0000 (05:02 +0000)]
Fix for "default = '...'" in CREATE TYPE

26 years agoTests for CHECK/DEFAULT
Vadim B. Mikheev [Thu, 28 Aug 1997 04:49:34 +0000 (04:49 +0000)]
Tests for CHECK/DEFAULT

26 years agoNumber of tuples inserted/affected by INSERT/UPDATE/DELETE...
Vadim B. Mikheev [Wed, 27 Aug 1997 09:05:24 +0000 (09:05 +0000)]
Number of tuples inserted/affected by INSERT/UPDATE/DELETE...

26 years agoheap_delete returns int now (for non-functional deletes).
Vadim B. Mikheev [Wed, 27 Aug 1997 09:03:47 +0000 (09:03 +0000)]
heap_delete returns int now (for non-functional deletes).

26 years agoOnly need to check for strerror once :)
Marc G. Fournier [Wed, 27 Aug 1997 05:06:20 +0000 (05:06 +0000)]
Only need to check for strerror once :)

26 years agoRemove unneeded stat calls.
Bruce Momjian [Wed, 27 Aug 1997 03:48:50 +0000 (03:48 +0000)]
Remove unneeded stat calls.

26 years agoInlined heap_getattr().
Bruce Momjian [Tue, 26 Aug 1997 23:31:58 +0000 (23:31 +0000)]
Inlined heap_getattr().

26 years agoFix for pointer arithmetic.
Bruce Momjian [Tue, 26 Aug 1997 19:24:36 +0000 (19:24 +0000)]
Fix for pointer arithmetic.

26 years agorename sections.
Bruce Momjian [Tue, 26 Aug 1997 17:39:32 +0000 (17:39 +0000)]
rename sections.

26 years agounix.1 renamed to pgintro.1.
Bruce Momjian [Tue, 26 Aug 1997 17:30:09 +0000 (17:30 +0000)]
unix.1 renamed to pgintro.1.

26 years agoManual page renaming.
Bruce Momjian [Tue, 26 Aug 1997 17:00:23 +0000 (17:00 +0000)]
Manual page renaming.

26 years agoChange void * to Dllist*.
Bruce Momjian [Tue, 26 Aug 1997 14:05:47 +0000 (14:05 +0000)]
Change void * to Dllist*.

26 years agopg_passwd cleanup.
Bruce Momjian [Mon, 25 Aug 1997 23:28:04 +0000 (23:28 +0000)]
pg_passwd cleanup.

26 years agopg_passwd cleanup.
Bruce Momjian [Mon, 25 Aug 1997 23:11:21 +0000 (23:11 +0000)]
pg_passwd cleanup.

26 years agopg_passwd cleanup
Bruce Momjian [Mon, 25 Aug 1997 20:00:03 +0000 (20:00 +0000)]
pg_passwd cleanup

26 years agopg_password utility. Cleanup for psql passwords. New datetime contrib stuff for...
Bruce Momjian [Mon, 25 Aug 1997 19:41:52 +0000 (19:41 +0000)]
pg_password utility.  Cleanup for psql passwords.  New datetime contrib stuff for new version.  Fix for strutils needing config.h.

26 years agoSmall cleanup.
Bruce Momjian [Mon, 25 Aug 1997 04:15:40 +0000 (04:15 +0000)]
Small cleanup.

26 years agoMajor patch to speed up backend startup after profiling analysis.
Bruce Momjian [Sun, 24 Aug 1997 23:08:01 +0000 (23:08 +0000)]
Major patch to speed up backend startup after profiling analysis.

26 years agoUpdate .similar version file.
Bruce Momjian [Fri, 22 Aug 1997 18:48:25 +0000 (18:48 +0000)]
Update .similar version file.

26 years agoFix for no NULL in CREATE TABLE.
Bruce Momjian [Fri, 22 Aug 1997 17:15:41 +0000 (17:15 +0000)]
Fix for no NULL in CREATE TABLE.

26 years agoRemove compile warning.
Bruce Momjian [Fri, 22 Aug 1997 16:48:14 +0000 (16:48 +0000)]
Remove compile warning.

26 years agoWarning in makefile added from DArcy.
Bruce Momjian [Fri, 22 Aug 1997 16:38:33 +0000 (16:38 +0000)]
Warning in makefile added from DArcy.

26 years ago+ ExecConstraints ()
Vadim B. Mikheev [Fri, 22 Aug 1997 14:39:33 +0000 (14:39 +0000)]
+ ExecConstraints ()

26 years agoRestore CONSTRAINT keyword (was lost ... by unknown way)
Vadim B. Mikheev [Fri, 22 Aug 1997 14:33:21 +0000 (14:33 +0000)]
Restore CONSTRAINT keyword (was lost ... by unknown way)

26 years ago+ ExecConstraints()
Vadim B. Mikheev [Fri, 22 Aug 1997 14:28:20 +0000 (14:28 +0000)]
+ ExecConstraints()

26 years agoTurn constraints off for sequences & views
Vadim B. Mikheev [Fri, 22 Aug 1997 14:22:14 +0000 (14:22 +0000)]
Turn constraints off for sequences & views
elog(WARN,"ADD ATTRIBUTE: DEFAULT is not implemented, yet");
Call ExecConstraints in CopyFrom

26 years agoRemove DEFAULT/CHECK infos from catalog on DROP TABLE
Vadim B. Mikheev [Fri, 22 Aug 1997 14:10:26 +0000 (14:10 +0000)]
Remove DEFAULT/CHECK infos from catalog on DROP TABLE
Store CHECK infos on CREATE TABLE

26 years agoWe store Cash/money as int of size 4, so make it an int rather than a long.
Bruce Momjian [Fri, 22 Aug 1997 07:13:01 +0000 (07:13 +0000)]
We store Cash/money as int of size 4, so make it an int rather than a long.

26 years agoFix for psql pager when no tty, cleanup for vacuum attdisbursion type.
Bruce Momjian [Fri, 22 Aug 1997 04:13:18 +0000 (04:13 +0000)]
Fix for psql pager when no tty, cleanup for vacuum attdisbursion type.

26 years agoConstraintDef changed
Vadim B. Mikheev [Fri, 22 Aug 1997 04:05:27 +0000 (04:05 +0000)]
ConstraintDef changed

26 years agoSet attbyval for attdisbursion to FALSE
Vadim B. Mikheev [Fri, 22 Aug 1997 04:04:19 +0000 (04:04 +0000)]
Set attbyval for attdisbursion to FALSE
Set atttype for relchecks to 21 (int2)
Set relkind for pg_attrdef & pg_relcheck to 'n'

26 years ago+ CreateTupleDescCopyConstr
Vadim B. Mikheev [Fri, 22 Aug 1997 03:55:39 +0000 (03:55 +0000)]
+ CreateTupleDescCopyConstr
+ FreeTupleDesc

26 years agoFetch information about DEFAULT/CHECK while openning a relation.
Vadim B. Mikheev [Fri, 22 Aug 1997 03:35:44 +0000 (03:35 +0000)]
Fetch information about DEFAULT/CHECK while openning a relation.

26 years agoThere is no NULL constraint in CREATE TABLE - only NOT NULL one.
Vadim B. Mikheev [Fri, 22 Aug 1997 03:17:55 +0000 (03:17 +0000)]
There is no NULL constraint in CREATE TABLE - only NOT NULL one.

26 years agoDEFAULT handling
Vadim B. Mikheev [Fri, 22 Aug 1997 03:12:19 +0000 (03:12 +0000)]
DEFAULT handling
Use  for 'selct .. into ..' copy of TupleDesc (without constraints)
#ifdef NOT_USED for resetVarAttrLenForCreateTable (just free tupdesc copy)