summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt
AgeCommit message (Collapse)Author
1998-03-20> > I'm using text[] arrays. Some of my array elements have '"'Bruce Momjian
> > characters in them. Dumping and reloading using pg_dumpall > > doesn't work with this and dumping the entire array and > > then trying to parse it is hopeless. Doug Gibson
1998-03-15From: "Thomas G. Lockhart" <lockhart@alumni.caltech.edu>Marc G. Fournier
For substr() and substring() on the text data type, the relevant code is in varlena.c. You are right, there is a problem. I have a patch which I will apply to the source tree soon. The copy enclosed below probably does not preserve tabs correctly so cannot be applied directly; the relevant change is simply changing the ">=" to ">"...
1998-03-15From: t-ishii@sra.co.jpMarc G. Fournier
Included are patches intended for allowing PostgreSQL to handle multi-byte charachter sets such as EUC(Extende Unix Code), Unicode and Mule internal code. With the MB patch you can use multi-byte character sets in regexp and LIKE. The encoding system chosen is determined at the compile time. To enable the MB extension, you need to define a variable "MB" in Makefile.global or in Makefile.custom. For further information please take a look at README.mb under doc directory. (Note that unlike "jp patch" I do not use modified GNU regexp any more. I changed Henry Spencer's regexp coming with PostgreSQL.)
1998-03-02Fix money type USE_LOCALE support at least for default "C" locale.Thomas G. Lockhart
Still has questionable code for some locale-specific strings.
1998-02-26pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian
1998-02-25From: Jan Wieck <jwieck@debis.com>Marc G. Fournier
seems that my last post didn't make it through. That's good since the diff itself didn't covered the renaming of pg_user.h to pg_shadow.h and it's new content. Here it's again. The complete regression test passwd with only some float diffs. createuser and destroyuser work. pg_shadow cannot be read by ordinary user.
1998-02-24From: "Denis V. Dmitrienko" <denis@null.net>Marc G. Fournier
What it does: It solves stupid problem with cyrillic charsets IP-based on-fly recoding. take a look at /data/charset.conf for details. You can use any tables for any charset. Tables are from Russian Apache project. Tables in this patch contains also Ukrainian characters. Then run ./configure --enable-recode
1998-02-24Remove #include "port-protos.h", since we no longer use itMarc G. Fournier
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24From: Jan Wieck <jwieck@debis.com>Marc G. Fournier
So if the relname is given to acldefault() in utils/adt/acl.c, it can do a IsSystemRelationName() on it and return ACL_RD instead of ACL_WORLD_DEFAULT.
1998-02-14From: Tom I Helbekkmo <tih@Hamartun.Priv.NO>Marc G. Fournier
The file 'backend/utils/adt/arrayfuncs.c' won't compile with the February 14th snapshot, because of an inconsistency between the declaration and implementation of ReadArrayStr(). As far as I can tell, the predeclaration is wrong. I assume this is what was meant:
1998-02-13Atttypmod cleanup.Bruce Momjian
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