summaryrefslogtreecommitdiff
path: root/src/backend/utils
AgeCommit message (Collapse)Author
1998-02-11Goodbye register keyword. Compiler knows better.Bruce Momjian
1998-02-10Pass around typmod as int16.Bruce Momjian
1998-02-07atttypmod now -1.Bruce Momjian
1998-02-05Vadim fix for vacuum analyze.Bruce Momjian
1998-02-05Fix for varchar functions, and indextyple j-1 fix.Bruce Momjian
1998-02-03Define boolean functions for lseg <, <=, <>, >=, >Thomas G. Lockhart
Define close_ls(), close_lseg(), lseg_length(). Write real code for close_sb(), close_pb(), inter_sb(), inter_lb(). Repair lseg_perp() which determines if two lsegs are perpendicular. Repair lseg_dt() distance between two lsegs. Note: close_sl() is clearly broken but will repair later (calculating point on lseg rather than point on line).
1998-02-02No datedebug printing of date debug is not defined.Bruce Momjian
1998-02-02Move all the isinf() stuff from float.c to isinf.c, and build it according toMarc G. Fournier
configure vs port specific #ifdef's...
1998-02-01Fix for psort. fixes regression tests.Bruce Momjian
1998-02-01AIX patch from Darren King and Univel patch from Billy Allie, mostlyBruce Momjian
related to grammar and parser issues, with one postmaster fix.
1998-01-31fmgr_faddr cleanupBruce Momjian
1998-01-31fmgr_faddr cleanupBruce Momjian
1998-01-31Inline fmgr_faddr() for speed.Bruce Momjian
1998-01-31Inline fastgetattr and others so data access does not use functionBruce Momjian
calls.
1998-01-29From: Phil Thompson <phil@river-bank.demon.co.uk>Marc G. Fournier
Attached is the patch to fix the warning messages from my code. I also fixed one which wasn't my code. Apart from the usual warnings about the bison/yacc generated code I only have one other warning message. This is in gramm.y around line 2234. I wasn't sure of the fix. I've also replaced all the calls to free() in gramm.y to calls to pfree(). Without these I was getting backend crashes with GRANT. This might already have been fixed.
1998-01-26From: Phil Thompson <phil@river-bank.demon.co.uk>Marc G. Fournier
I've completed the patch to fix the protocol and authentication issues I was discussing a couple of weeks ago. The particular changes are: - the protocol has a version number - network byte order is used throughout - the pg_hba.conf file is used to specify what method is used to authenticate a frontend (either password, ident, trust, reject, krb4 or krb5) - support for multiplexed backends is removed - appropriate changes to man pages - the -a switch to many programs to specify an authentication service no longer has any effect - the libpq.so version number has changed to 1.1 The new backend still supports the old protocol so old interfaces won't break.
1998-01-25From: Jeroen van Vianen <jeroenv@design.nl>Marc G. Fournier
This patch solves the problem with multiple order by columns, with the first one having NULL values.
1998-01-25getpid/pid cleanupBruce Momjian
1998-01-25This patch fixes one of two problems with grant/revoke statements on theMarc G. Fournier
Linux platform. From: James Hughes <jamesh@interpath.com>
1998-01-20Parser cleanup.Bruce Momjian
Add lock to i386 asm.
1998-01-16New pg_attribute.atttypmod for type-specific information likeBruce Momjian
varchar length. Cleans up code so attlen is always length. Removed varchar() hack added earlier. Will fix bug in selecting varchar() fields, and varchar() can be variable length.
1998-01-15Fix for aggreg problem and fmgr.c compile problems.Bruce Momjian
1998-01-15Thank god for searchable mail archives.PostgreSQL Daemon
Patch by: wieck@sapserv.debis.de (Jan Wieck) One of the design rules of PostgreSQL is extensibility. And to follow this rule means (at least for me) that there should not only be a builtin PL. Instead I would prefer a defined interface for PL implemetations.
1998-01-14Cleanup of prototypes. FIx for PQtrace start/stop several times.Bruce Momjian
1998-01-13Various cleanups for the i386_solaris environmentMarc G. Fournier
1998-01-13Some *very* major changes by darrenk@insightdist.com (Darren King)Marc G. Fournier
========================================== 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> It seems there is a mistake in substr function:Marc G. Fournier
> 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-08Cleanup of varchar.Bruce Momjian
1998-01-08Re-install working varchar() with compress size.Bruce Momjian
1998-01-08Completion of varchar rollback.Bruce Momjian
1998-01-08Cleanup of varchar.Bruce Momjian
1998-01-08Rollback varchar size change.Bruce Momjian
1998-01-07Fix for varchar I missed.Bruce Momjian
1998-01-07Goodbye ABORT. Hello ERROR for all errors.Bruce Momjian
1998-01-07Allow varchar() to only store needed bytes. Remove PALLOC,PALLOCTYPE,PFREE. ↵Bruce Momjian
Clean up use of VARDATA.
1998-01-05Change some ABORTS to ERROR. Add line number when COPY Failure.Bruce Momjian
1998-01-05Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian
1998-01-05Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian
1998-01-05Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian
1998-01-01Define text_substr().Thomas G. Lockhart
Change declarations from "struct varlena *" to "text *". Remove register variables since compiler should do better on its own.
1997-12-29Change some mallocs to palloc.Bruce Momjian
1997-12-23Fix format to produce actual German style. Affects new "GERMAN" feature only.Thomas G. Lockhart
1997-12-23Change logic slightly to avoid one unnecessary calculation. No big deal.Thomas G. Lockhart
1997-12-23Change a few routine names back to full length now that pg_proc allowsThomas G. Lockhart
names over 16 characters. datet_datetime() -> datetime_datetime(), etc.
1997-12-20Major cleanout of PORTNAME variables from Makefiles...bound to screw upMarc G. Fournier
some of the ports...
1997-12-20First clean compile without a "PORTNAME" variable being set...Marc G. Fournier
1997-12-19More cleanups. I can now compile without PORTNAME being defined nMarc G. Fournier
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-17Enable timespan_finite() and text_timespan() routines (was commented out).Thomas G. Lockhart
Define an "ISO-style" timespan output format with "hh:mm:ss" fields. Enabled by DateStyle = USE_ISO_DATES.
1997-12-16Define text, varchar, and bpchar string length functions.Thomas G. Lockhart
1997-12-08More VARHDRSZ additions.Bruce Momjian