Commit Graph

2639 Commits

Author SHA1 Message Date
Marc G. Fournier 374bb5d261 Some *very* major changes by darrenk@insightdist.com (Darren King)
==========================================
What follows is a set of diffs that cleans up the usage of BLCKSZ.

As a side effect, the person compiling the code can change the
value of BLCKSZ _at_their_own_risk_.  By that, I mean that I've
tried it here at 4096 and 16384 with no ill-effects.  A value
of 4096 _shouldn't_ affect much as far as the kernel/file system
goes, but making it bigger than 8192 can have severe consequences
if you don't know what you're doing.  16394 worked for me, _BUT_
when I went to 32768 and did an initdb, the SCSI driver broke and
the partition that I was running under went to hell in a hand
basket. Had to reboot and do a good bit of fsck'ing to fix things up.

The patch can be safely applied though.  Just leave BLCKSZ = 8192
and everything is as before.  It basically only cleans up all of the
references to BLCKSZ in the code.

If this patch is applied, a comment in the config.h file though above
the BLCKSZ define with warning about monkeying around with it would
be a good idea.

Darren  darrenk@insightdist.com

(Also cleans up some of the #includes in files referencing BLCKSZ.)
==========================================
1998-01-13 04:05:12 +00:00
Marc G. Fournier f0445dcbc4 > It seems there is a mistake in substr function:
> then you try get substr, which consists only of last char in string
> you get all string
>
> For example:
> userbase=> select substr('123456', 6,1) ;
> substr
> ------
> 123456
> (1 row)
>

From Edmund Mergl <E.Mergl@bawue.de>
1998-01-13 03:49:51 +00:00
Marc G. Fournier fc7950993d Should fix it all, Peter? 1998-01-13 02:23:09 +00:00
Marc G. Fournier 06bad78075 Oops...missed over half the patch :( 1998-01-13 02:19:56 +00:00
Marc G. Fournier c77c608aa2 Upgrade to 0.76 1998-01-12 18:10:28 +00:00
Bruce Momjian f57cfa5e4d Html backend_dir cleanup 1998-01-12 14:41:38 +00:00
Bruce Momjian 1ea03f7de5 Manual page dash cleanup. 1998-01-11 22:18:01 +00:00
Marc G. Fournier e9fd73ca48 Fix from Peter for BLOBs 1998-01-11 21:16:01 +00:00
Marc G. Fournier ba977c086c Peter's Mega-Patch for JDBC...
see README_6.3 for list of changes
1998-01-11 21:14:56 +00:00
Bruce Momjian 4bad5be7bc Fix SCO and change index name. 1998-01-11 21:03:10 +00:00
Bruce Momjian 660f458d3b Clean up of copyfuncs. 1998-01-11 20:02:32 +00:00
Bruce Momjian f3dbe7356b psql help cleanup. 1998-01-11 04:36:28 +00:00
Bruce Momjian 40d55d2c0a Update psql help. 1998-01-11 04:17:01 +00:00
Bruce Momjian 600c958a30 Add UNION, GROUP, DISTINCT to INSERT. 1998-01-11 03:41:57 +00:00
Thomas G. Lockhart d70df16a76 Fix up for recent changes in elog error messages.
Some behavior of the triggers test cases changed for the least week or two;
 now back to the usual expected behavior.
1998-01-10 17:50:49 +00:00
Bruce Momjian 6cfa6cb95e Fix CLUSTER. 1998-01-10 05:19:22 +00:00
Bruce Momjian e6c714bf30 Bye CursorStmt, now use SelectStmt. 1998-01-10 04:30:11 +00:00
Bruce Momjian e7b205b486 Remove old quel labels. 1998-01-09 21:26:12 +00:00
Bruce Momjian ad8fa23727 Remove old quel labels. 1998-01-09 21:13:43 +00:00
Bruce Momjian 3d15d1332a Remove old quel labels. 1998-01-09 20:06:08 +00:00
Bruce Momjian bf8af2205b PAGER \z in psql. 1998-01-09 19:34:38 +00:00
Bruce Momjian 31a697bf92 Yohoo UNIONS of VIEWS. 1998-01-09 05:48:22 +00:00
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 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
Marc G. Fournier 7a2a7d436d Wrap the function in and #ifdef, not the header files
Should fix an AIX compiler problem
1998-01-07 17:02:52 +00:00
Bruce Momjian 3f1b1db7c5 Cleanup of outnodes. 1998-01-07 15:40:17 +00:00
Bruce Momjian e9dc636e0c Cleanup of outnodes. 1998-01-07 15:32:47 +00:00
Bruce Momjian c01a56daf5 Fix for views and outnodes. 1998-01-07 08:08:08 +00:00
Bruce Momjian 56466049d6 Cleanup of outnode stuff. 1998-01-07 05:54:11 +00:00
Bruce Momjian c9d9fe7690 Cleanup of outnode stuff. 1998-01-07 05:50:41 +00:00
Bruce Momjian a552a894eb Cleanup of outnode stuff. 1998-01-07 05:42:47 +00:00
Bruce Momjian 1b9ab297f3 Change web page directions. 1998-01-07 03:48:29 +00:00
Marc G. Fournier 697fcb021c Short little FAQ for FreeBSD 1998-01-07 02:33:46 +00:00
Bruce Momjian e22b09c227 Fix sorting of multiple fields broken with UNION. 1998-01-06 23:58:05 +00:00
Bruce Momjian 4557c846de Cleanup of sort nodes and use of strtoul . 1998-01-06 23:19:49 +00:00
Bruce Momjian f439eb35b8 ABORT to ERROR in catalog/. 1998-01-06 19:42:33 +00:00
Bruce Momjian 845f82e541 Regression cleanup of WARN. 1998-01-06 19:25:19 +00:00
Bruce Momjian 9d00fbbeb0 Change some labels in bootparse to make ctags happy. Clean up outfunc/readfunc code and add missing fields for Query structure and new Union fields. Fix optimizer bug shown in new \do command. Change WARN to ERROR in contrib and regression stuff. 1998-01-06 18:53:02 +00:00
Bruce Momjian 42acc6e8c4 Move variable.c to commands/ and aclchk.c to catalog/. 1998-01-05 18:53:12 +00:00
Bruce Momjian 9db64857e0 Move variable.c to commands/ and aclchk.c to catalog/. 1998-01-05 18:43:18 +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 3d8820a364 Remove un-needed quotes from psql \d DEFAULT display. 1998-01-05 13:56:05 +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