Bruce Momjian
8f125413b0
Cleanup of varchar.
1998-01-08 06:18:18 +00:00
Bruce Momjian
84ef6aae18
Re-install working varchar() with compress size.
1998-01-08 04:58:19 +00:00
Bruce Momjian
5fe090c559
Completion of varchar rollback.
1998-01-08 04:19:16 +00:00
Bruce Momjian
35be73027e
Cleanup of varchar.
1998-01-08 03:15:06 +00:00
Bruce Momjian
c098f309e3
Rollback varchar size change.
1998-01-08 03:05:01 +00:00
Bruce Momjian
1c9fcfb683
Fix for varchar I missed.
1998-01-07 22:08:23 +00:00
Bruce Momjian
e6c6146eb8
Allow varchar() to only store needed bytes. Remove PALLOC,PALLOCTYPE,PFREE. Clean up use of VARDATA.
1998-01-07 18:47:07 +00:00
Bruce Momjian
deea69b90e
Change some ABORTS to ERROR. Add line number when COPY Failure.
1998-01-05 16:40:20 +00:00
Bruce Momjian
0d9fc5afd6
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 03:35:55 +00:00
Thomas G. Lockhart
ed14f88512
Change logic slightly to avoid one unnecessary calculation. No big deal.
1997-12-23 19:24:43 +00:00
Thomas G. Lockhart
6316f4d3db
Define text, varchar, and bpchar string length functions.
1997-12-16 15:59:11 +00:00
Bruce Momjian
a68a132a6c
Add VARHDRSZ where needed. Many places just used 4.
1997-12-06 22:57:36 +00:00
Bruce Momjian
f3af1368bd
Rename strNcpy to StrNCpy, and change third parameter.
1997-10-25 01:10:58 +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
Bruce Momjian
edb58721b8
Fix pgproc names over 15 chars in output. Add strNcpy() function. remove some (void) casts that are unnecessary.
1997-08-12 20:16:25 +00:00
Marc G. Fournier
53d8be3bbf
Date/Time updates from Thomas...
1997-03-14 23:21:12 +00:00
Bruce Momjian
aaeef4d17d
All external function definitions now have prototypes that are checked.
1996-11-10 03:06:38 +00:00
Marc G. Fournier
ce4c0ce1de
Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>
1996-11-06 06:52:23 +00:00
Bruce Momjian
18bbad7696
Remove OPENLINK define
1996-11-04 04:53:51 +00:00
Marc G. Fournier
491b9b89c4
The patch that is applied at the end of the email makes sure that these
...
conditions are always met. The patch can be applied to any version
of Postgres95 from 1.02 to 1.05. After applying the patch, queries
using indices on bpchar and varchar fields should (hopefully ;-) )
always return the same tuple set regardless to the fact whether
indices are used or not.
Submitted by: Gerhard Reithofer <tbr_laa@AON.AT>
1996-08-26 20:38:52 +00:00
Marc G. Fournier
d838e30f13
Submitted by Openlink, requires -DOPENLINK_PATCHES in Makefile.global
...
varchar.diff
------------
This patch was necessary for the OpenLink Postgres Database Agent.
I think this fixes a bug anyway.
The following query demonstrates this bug:
create table foo (bar varchar);
insert into foo values (''); -- no problem
select * from foo where bar = ''; -- fails
1996-07-15 19:11:23 +00:00
Marc G. Fournier
d31084e9d1
Postgres95 1.01 Distribution - Virgin Sources
1996-07-09 06:22:35 +00:00