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
679d39b9c8
Goodbye ABORT. Hello ERROR for all errors.
1998-01-07 21:07:04 +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
69cf5abe10
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 04:10:07 +00:00
Bruce Momjian
345641e498
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1998-01-05 03:45:54 +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
37f17d39c1
Define text_substr().
...
Change declarations from "struct varlena *" to "text *".
Remove register variables since compiler should do better on its own.
1998-01-01 05:50:50 +00:00
Bruce Momjian
a544b605e2
Change some mallocs to palloc.
1997-12-29 05:13:57 +00:00
Thomas G. Lockhart
ca23837ade
Fix format to produce actual German style. Affects new "GERMAN" feature only.
1997-12-23 19:26:31 +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
c06331a47d
Change a few routine names back to full length now that pg_proc allows
...
names over 16 characters. datet_datetime() -> datetime_datetime(), etc.
1997-12-23 19:23:09 +00:00
Marc G. Fournier
6e337eef45
Major cleanout of PORTNAME variables from Makefiles...bound to screw up
...
some of the ports...
1997-12-20 00:29:35 +00:00
Marc G. Fournier
10ff1eea60
First clean compile without a "PORTNAME" variable being set...
1997-12-20 00:11:13 +00:00
Marc G. Fournier
5379b84eff
More cleanups. I can now compile without PORTNAME being defined n
...
Makefile.global.
End result, if all goes well, should allow for much easier porting, since
there will no longer be a concept of a "port". Most, if not everything,
*should* be determined by configure, or by the compiler itself. Still
work to be done though :)
1997-12-19 02:09:10 +00:00
Thomas G. Lockhart
d451a3b3bc
Enable timespan_finite() and text_timespan() routines (was commented out).
...
Define an "ISO-style" timespan output format with "hh:mm:ss" fields.
Enabled by DateStyle = USE_ISO_DATES.
1997-12-17 23:22:17 +00:00
Thomas G. Lockhart
6316f4d3db
Define text, varchar, and bpchar string length functions.
1997-12-16 15:59:11 +00:00
Bruce Momjian
53026db75e
More VARHDRSZ additions.
1997-12-08 04:42:48 +00:00
Bruce Momjian
a68a132a6c
Add VARHDRSZ where needed. Many places just used 4.
1997-12-06 22:57:36 +00:00
Thomas G. Lockhart
352b36877f
Add 'GERMAN' style to date/time output.
...
Probably have it wrong (dd.mm/yyyy) but can change it when we know.
Input routines always handled it.
1997-12-04 23:30:52 +00:00
Bruce Momjian
983ec2cb4b
Make parser functions static where possible.
1997-11-26 03:54:23 +00:00
Bruce Momjian
b704426618
Make parser functions static where possible.
1997-11-26 03:43:18 +00:00
Bruce Momjian
f7f2e18f8e
Remove tqual.h includes not needed.
1997-11-24 05:09:50 +00:00
Bruce Momjian
1409819a87
Fix for textcat on varchar() fields.
1997-11-23 21:39:12 +00:00
Bruce Momjian
3fa2bb316c
Remove archive stuff.
1997-11-21 18:12:58 +00:00
Bruce Momjian
e9e1ff226f
Remove all time travel stuff. Small parser cleanup.
1997-11-20 23:24:03 +00:00
Vadim B. Mikheev
c5d7a27275
Get rid of unused variable 'address'.
1997-11-18 07:58:10 +00:00
Bruce Momjian
d0471244e6
Remove 16 char limit on system table/index names. Rename system indexes.
1997-11-17 16:59:36 +00:00
Thomas G. Lockhart
2fa330284c
Use limits.h for INT, SHRT, and SCHAR min and max values rather than
...
hardcoded values.
1997-11-17 16:26:27 +00:00
Thomas G. Lockhart
174f984b76
Use SHRT_MIN and SHRT_MAX for 2-byte integer limits.
1997-11-17 16:24:17 +00:00
Thomas G. Lockhart
e7946a53ad
Allow fractional values for delta times (e.g. '2.5 days').
...
Check valid numeric input more carefully for delta times.
Implement day of year as possible input to datetime_part().
1997-11-17 16:23:33 +00:00
Marc G. Fournier
9bcf350cc7
Apply Bryan's IPC Patches
...
From: Bryan Henderson <bryanh@giraffe.netgate.net>
1997-11-17 03:47:31 +00:00
Bruce Momjian
1c32d285a6
Remove pg_magic, defaults, server, hosts, and demon tables. unused.
1997-11-15 20:58:05 +00:00
Bruce Momjian
4e9df155f0
Add new \df psql option and oid8types() function.
1997-11-15 16:32:25 +00:00
Thomas G. Lockhart
fe36d461c2
Add errormsg initialization from patch by Keith Parks.
1997-11-10 15:15:40 +00:00
Thomas G. Lockhart
2b51c92d30
Clean up handling of environment variables in path names.
1997-11-10 15:14:34 +00:00
Marc G. Fournier
213d7b1ae3
From: Bryan Henderson <bryanh@giraffe.netgate.net>
...
The attached patch makes elog() write the message to stderr if there is
no frontend to talk to.
1997-11-09 04:43:35 +00:00
Bruce Momjian
c17fa36d3c
Add Unix domain socket support, from Goran Thyni, goran@bildbasen.se
1997-11-07 20:52:15 +00:00
Thomas G. Lockhart
4676b3034a
Routines for database initial access info and support.
1997-11-07 07:05:46 +00:00
Thomas G. Lockhart
8a7f79c83c
Add database.c for database initial access info and support.
1997-11-07 07:03:37 +00:00
Thomas G. Lockhart
7d1f2f8a27
Support alternate database locations.
1997-11-07 06:38:51 +00:00
Thomas G. Lockhart
c934ee7859
Change phrasing of input error message.
...
Add istrue() and isfalse() routines to implement SQL3 IS TRUE and IS FALSE.
1997-11-07 06:30:20 +00:00
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
Thomas G. Lockhart
cc1b420cfd
Add routines istrue() and isfalse() to directly evaluate boolean type.
1997-10-30 16:45:12 +00:00
Bruce Momjian
06d88ecb17
Fix for when POSIX time not defined.
1997-10-30 14:06:47 +00:00
Vadim B. Mikheev
7bff4c5078
Now we are able to CREATE PROCEDURAL LANGUAGE (Thanks, Jan).
1997-10-28 15:11:45 +00:00