Bruce Momjian
e2617c856e
Fix for compile warning, from Ernst Molitor.
1997-10-30 05:07:58 +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
Vadim B. Mikheev
7bff4c5078
Now we are able to CREATE PROCEDURAL LANGUAGE (Thanks, Jan).
1997-10-28 15:11:45 +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
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
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
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
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
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
Vadim B. Mikheev
9b10d6ffda
Ignore copies of columns specified in ORDER/GROUP BY
1997-10-16 06:58:38 +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
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
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
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
Vadim B. Mikheev
1b677e7e34
Fix \ handling
1997-10-02 13:52:29 +00:00
Vadim B. Mikheev
7a5d3fbd9b
STATEMENT triggers are not implemented - elog (WARN).
1997-09-30 09:49:54 +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
5a447b4a26
MOVE implementation.
1997-09-29 05:59:16 +00:00
Bruce Momjian
725a03eb4b
Make GetAttributeByNum visible again for external use.
1997-09-27 14:37:21 +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
b105324f7e
Fix SUBSTRING(str FROM int TO int) parsing.
1997-09-26 15:09:11 +00:00
Vadim B. Mikheev
561b35e556
Return error if char *query is null in SPI_prepare()
1997-09-26 13:57:39 +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