summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt
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-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-31Inline fastgetattr and others so data access does not use functionBruce Momjian
calls.
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-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-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-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-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
1997-12-06Add VARHDRSZ where needed. Many places just used 4.Bruce Momjian
1997-12-04Add 'GERMAN' style to date/time output.Thomas G. Lockhart
Probably have it wrong (dd.mm/yyyy) but can change it when we know. Input routines always handled it.
1997-11-24Remove tqual.h includes not needed.Bruce Momjian
1997-11-23Fix for textcat on varchar() fields.Bruce Momjian
1997-11-20Remove all time travel stuff. Small parser cleanup.Bruce Momjian
1997-11-17Use limits.h for INT, SHRT, and SCHAR min and max values rather thanThomas G. Lockhart
hardcoded values.
1997-11-17Use SHRT_MIN and SHRT_MAX for 2-byte integer limits.Thomas G. Lockhart
1997-11-17Allow fractional values for delta times (e.g. '2.5 days').Thomas G. Lockhart
Check valid numeric input more carefully for delta times. Implement day of year as possible input to datetime_part().
1997-11-15Add new \df psql option and oid8types() function.Bruce Momjian
1997-11-07Change phrasing of input error message.Thomas G. Lockhart
Add istrue() and isfalse() routines to implement SQL3 IS TRUE and IS FALSE.
1997-11-02Good Bye, Time Travel!Vadim B. Mikheev
1997-11-01Fix acl error, and remove duplicate pqtrace.Bruce Momjian
1997-10-30Add routines istrue() and isfalse() to directly evaluate boolean type.Thomas G. Lockhart
1997-10-30Fix for when POSIX time not defined.Bruce Momjian
1997-10-25Shorten routine names to <= 16 characters to fit in pg_proc table.Thomas G. Lockhart