summaryrefslogtreecommitdiff
path: root/src/backend/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a conditional for <values.h> vs <limits.h>Marc G. Fournier1997-03-161-1/+6
|
* Remove extra functions temporarily while a proper fix is found...Marc G. Fournier1997-03-161-1/+3
|
* Update oracle_compat.cMarc G. Fournier1997-03-151-84/+365
|
* Date/Time updates from Thomas...Marc G. Fournier1997-03-1415-1410/+3359
|
* Missed another tar file... :(Marc G. Fournier1997-03-141-0/+98
|
* From: Dan McGuirk <mcguirk@indirect.com>Marc G. Fournier1997-03-121-4/+3
| | | | | | Subject: [HACKERS] timestamp type OK, last one. This patch adds an ANSI SQL 'timestamp' type.
* From: Dan McGuirk <mcguirk@indirect.com>Marc G. Fournier1997-03-124-14/+36
| | | | | | | | | | Subject: [HACKERS] linux/alpha patches These patches lay the groundwork for a Linux/Alpha port. The port doesn't actually work unless you tweak the linker to put all the pointers in the first 32 bits of the address space, but it's at least a start. It implements the test-and-set instruction in Alpha assembly, and also fixes a lot of pointer-to-integer conversions, which is probably good anyway.
* Add prototypes for oracle-compat functions. Rename geo-*.c adt to geo_*.cBruce Momjian1997-03-094-5/+6
|
* This is a set of single row character functions, defined for the datatypeMarc G. Fournier1997-03-042-2/+423
| | | | | | text, which are supposed to behave exactly as their Oracle counterparts. From: Edmund Mergl <E.Mergl@bawue.de>
* Apply date patch from tiemann@cygnus.com,Michael Tiemann.Bruce Momjian1997-03-021-16/+38
|
* Remove _PAGE_SIZE_ as recommended by Darren King.Bruce Momjian1997-03-021-3/+3
|
* Prevent under/over flow of float8 constants in parser. Small regression fix.Bruce Momjian1997-02-191-2/+2
|
* Remove WIN32 defines. They never worked.Bruce Momjian1997-02-148-90/+9
|
* Improvements to the ultrix port, in particular a bunch of compilerMarc G. Fournier1997-02-131-1/+4
| | | | | | quieting prototyping in port/ultrix4.h Submitted by: Erik Bertelsen <erik@sockdev.uni-c.dk>
* Add attribute optimization statistics.Bruce Momjian1997-02-071-4/+5
|
* Slight change to nabstime.c so that configure is able to handle a systemMarc G. Fournier1997-01-271-2/+2
| | | | | | | whereby timezone isn't an int, but tzset() exists... This isn't a definitive fix, as there is probably an easier way of fixing the bug...
* Bring in a patch from Keith Parks to move the use of European datesMarc G. Fournier1997-01-262-21/+23
| | | | | | from a #define to a run-time option '-e' Man page was updated to reflect new option
* Convert NEED_{RINT,CBRT,ISINF} to HAVE_* in prepration for configure...Marc G. Fournier1997-01-241-25/+25
|
* Replace occurances of USE_{LIMITS,VALUES}_H with HAVE_* in preparationMarc G. Fournier1997-01-241-4/+4
| | | | for switch over to configure
* Another change from /usr/include/machine/limits.h to just limits.hMarc G. Fournier1997-01-221-4/+4
|
* Add missing #.Bruce Momjian1997-01-181-2/+2
|
* textin fixed: no more zero-byte (thanks, Erich)Vadim B. Mikheev1997-01-161-2/+2
|
* Added postgres.h include to quiet down the HPUX ports...Marc G. Fournier1997-01-151-3/+5
| | | | POinted out by: Martin S. Utesch <utesch@aut.tu-freiberg.de>
* Eliminate dupliclate definition of external variables reldesc and DataDir.Bryan Henderson1997-01-141-3/+7
| | | | Some compilers recognize this error.
* include sem.h added, include string.h neede, from Erik Bertelsen for UltrixBruce Momjian1997-01-104-6/+12
|
* cleanup for LINUX_ELFBruce Momjian1997-01-101-4/+4
|
* timeb.h only used when not using POSIX_TIMEBruce Momjian1997-01-101-2/+4
|
* #include <postgres.h> moved upperVadim B. Mikheev1997-01-091-4/+6
|
* Use proper types so it compiles on DEC C89. Thanks Erik Bertelson.Bryan Henderson1997-01-081-5/+5
|
* Change the way ipc.h is included because sys/ipc.h on Ultrix is broken.Bryan Henderson1997-01-081-2/+2
|
* Minor changes for NeXT compileMarc G. Fournier1997-01-062-7/+8
| | | | Submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
* More config.h syncing for limits.hMarc G. Fournier1997-01-061-11/+10
|
* Here's the final set of patches to 6.0 (sup'd on 27/12/96) that allow a fullBruce Momjian1996-12-281-4/+4
| | | | | | | | | gmake of the code without interruption. There's also some tidy-up of the MAXPATHLEN stuff based on the assumption that all supported platforms have MAXPATHLEN defined in <sys/param.h>. (The only unknowns for the above are AIX and IRIX5.)
* There was JMP_BUF defined in config.h. And SIGJMP_BUF later.Vadim B. Mikheev1996-12-271-2/+2
| | | | | | | | | | And now - JMP_BUF again. Is it enough, folks ? Fixed again: cc1: warnings being treated as errors exc.c: In function 'ExcRaise': exc.c:187: warning: passing arg 1 of 'Longjmp' from incompatible pointer type gmake[3]: *** [exc.o] Error 1
* Put sys/types.h before sys/timeb.h so Ultrix compiles.Bryan Henderson1996-12-161-2/+2
|
* Make compile on AIX, Alpha OSF. Thanks Darren King, Igor Notanzon.Bryan Henderson1996-12-151-1/+2
|
* Fix over fix: JMP_BUF gone away and we have SIGJMP_BUF now.Vadim B. Mikheev1996-12-141-2/+2
| | | | Excuse me.
* Avoiding:Vadim B. Mikheev1996-12-141-2/+2
| | | | | | | | | | | | | | | cc1: warnings being treated as errors datum.c: In function `DatumGetSize': datum.c:57: warning: unsigned value >= 0 is always 1 gmake[3]: *** [datum.o] Error 1 There was: if (byVal) { if (len >= 0 && len <= sizeof(Datum)) { but len has type Size (unsigned int) and so now there is: if (byVal) { if (len <= sizeof(Datum)) {
* AvoidingVadim B. Mikheev1996-12-141-1/+5
| | | | | | | | | | | | | | cc1: warnings being treated as errors exc.c: In function 'ExcRaise': exc.c:186: warning: passing arg 1 of 'Longjmp' from incompatible pointer type gmake[3]: *** [exc.o] Error 1 Now we have: #if defined (JMP_BUF) longjmp(efp->context, 1); #else siglongjmp(efp->context, 1); #endif
* Change portname "sparc" to "sunos4" and change some portname dependencies toBryan Henderson1996-12-041-2/+2
| | | | feature dependencies. Thanks Kurt J. Lidl.
* More stuff to make it compile on various ports.Bryan Henderson1996-11-273-3/+6
|
* Make it compile on Ultrix. Thanks Erik Bertelson.Bryan Henderson1996-11-261-1/+4
|
* Typecasts, etc. to make compile work on AIX. Thanks Darren King..Bryan Henderson1996-11-242-7/+6
|
* There is a bug in aclinsert3 in the code which update the acl arrays.Bruce Momjian1996-11-201-1/+3
| | | | | | | | | | | When an acl item is added or updated the new entry is deleted if it has no permissions and the acl array is shrinked. This is is done by decrementing the number of items without updating the corresponding array size. The array with the incorrect size is later read by pg_aclcheck and the entry count is used to allocate a new array while the array size is used to copy the old one. This causes a memory corruption and a backend crash. This happens only to normal user as the administrator bypasses acl checks. Massimo Dal Zotto
* The routines in magic.c have moved to the more accessible version.c.Bryan Henderson1996-11-191-167/+0
|
* Fix for error when viewing group access privs.Bruce Momjian1996-11-171-2/+1
|
* Features added:Marc G. Fournier1996-11-141-1/+99
| | | | | | | | | | | * Wrote max(date) and min(date) aggregates * Wrote operator "-" for date; date - date yields number of days difference * Wrote operator+(date,int) and operator-(date,int); the int is the number of days. Each operator returns a new date. By: Tom Tromey <tromey@creche.cygnus.com>
* Remove most compile-time options, add a few runtime options to make up for it.Bryan Henderson1996-11-144-49/+5
| | | | | | | In particular, no more compiled-in default for PGDATA or LIBDIR. Commands that need them need either invocation options or environment variables. PGPORT default is hardcoded as 5432, but overrideable with options or environment variables.
* Use port-protos.h instead of trying to declare random() and srandom()Bryan Henderson1996-11-141-10/+2
| | | | explicitly.
* Commit of a *MAJOR* patch from Dan McGuirk <djm@indirect.com>Marc G. Fournier1996-11-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * Unique index capability works using the syntax 'create unique index'. * Duplicate OID's in the system tables are removed. I put little scripts called 'duplicate_oids' and 'find_oid' in include/catalog that help to find and remove duplicate OID's. I also moved 'unused_oids' from backend/catalog to include/catalog, since it has to be in the same directory as the include files in order to work. * The backend tries converting the name of a function or aggregate to all lowercase if the original name given doesn't work (mostly for compatibility with ODBC). * You can 'SELECT NULL' to your heart's content. * I put my _bt_updateitem fix in instead, which uses _bt_insertonpg so that even if the new key is so big that the page has to be split, everything still works. * All literal references to system catalog OID's have been replaced with references to define'd constants from the catalog header files. * I added a couple of node copy functions. I think this was a preliminary attempt to get rules to work.