summaryrefslogtreecommitdiff
path: root/src/backend/utils
AgeCommit message (Collapse)Author
1997-01-27Slight change to nabstime.c so that configure is able to handle a systemMarc G. Fournier
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...
1997-01-26Bring in a patch from Keith Parks to move the use of European datesMarc G. Fournier
from a #define to a run-time option '-e' Man page was updated to reflect new option
1997-01-24Convert NEED_{RINT,CBRT,ISINF} to HAVE_* in prepration for configure...Marc G. Fournier
1997-01-24Replace occurances of USE_{LIMITS,VALUES}_H with HAVE_* in preparationMarc G. Fournier
for switch over to configure
1997-01-22Another change from /usr/include/machine/limits.h to just limits.hMarc G. Fournier
1997-01-18Add missing #.Bruce Momjian
1997-01-16textin fixed: no more zero-byte (thanks, Erich)Vadim B. Mikheev
1997-01-15Added postgres.h include to quiet down the HPUX ports...Marc G. Fournier
POinted out by: Martin S. Utesch <utesch@aut.tu-freiberg.de>
1997-01-14Eliminate dupliclate definition of external variables reldesc and DataDir.Bryan Henderson
Some compilers recognize this error.
1997-01-10include sem.h added, include string.h neede, from Erik Bertelsen for UltrixBruce Momjian
1997-01-10cleanup for LINUX_ELFBruce Momjian
1997-01-10timeb.h only used when not using POSIX_TIMEBruce Momjian
1997-01-09#include <postgres.h> moved upperVadim B. Mikheev
1997-01-08Use proper types so it compiles on DEC C89. Thanks Erik Bertelson.Bryan Henderson
1997-01-08Change the way ipc.h is included because sys/ipc.h on Ultrix is broken.Bryan Henderson
1997-01-06Minor changes for NeXT compileMarc G. Fournier
Submitted by: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
1997-01-06More config.h syncing for limits.hMarc G. Fournier
1996-12-28Here's the final set of patches to 6.0 (sup'd on 27/12/96) that allow a fullBruce Momjian
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.)
1996-12-27There was JMP_BUF defined in config.h. And SIGJMP_BUF later.Vadim B. Mikheev
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
1996-12-16Put sys/types.h before sys/timeb.h so Ultrix compiles.Bryan Henderson
1996-12-15Make compile on AIX, Alpha OSF. Thanks Darren King, Igor Notanzon.Bryan Henderson
1996-12-14Fix over fix: JMP_BUF gone away and we have SIGJMP_BUF now.Vadim B. Mikheev
Excuse me.
1996-12-14Avoiding:Vadim B. Mikheev
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)) {
1996-12-14AvoidingVadim B. Mikheev
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
1996-12-04Change portname "sparc" to "sunos4" and change some portname dependencies toBryan Henderson
feature dependencies. Thanks Kurt J. Lidl.
1996-11-27More stuff to make it compile on various ports.Bryan Henderson
1996-11-26Make it compile on Ultrix. Thanks Erik Bertelson.Bryan Henderson
1996-11-24Typecasts, etc. to make compile work on AIX. Thanks Darren King..Bryan Henderson
1996-11-20There is a bug in aclinsert3 in the code which update the acl arrays.Bruce Momjian
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
1996-11-19The routines in magic.c have moved to the more accessible version.c.Bryan Henderson
1996-11-17Fix for error when viewing group access privs.Bruce Momjian
1996-11-14Features added:Marc G. Fournier
* 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>
1996-11-14Remove most compile-time options, add a few runtime options to make up for it.Bryan Henderson
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.
1996-11-14Use port-protos.h instead of trying to declare random() and srandom()Bryan Henderson
explicitly.
1996-11-13Commit of a *MAJOR* patch from Dan McGuirk <djm@indirect.com>Marc G. Fournier
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.
1996-11-12Use new utils/version.c instead of backend/utils/init/magic.c.Bryan Henderson
1996-11-11Add an abort() call to ExceptionalCondition so that is Assert isMarc G. Fournier
called, it dumps core... ABORT_ON_ASSERT must be defined, as I don't know if this is the correct way to do this...
1996-11-11change include c.h to postgres.hMarc G. Fournier
1996-11-10All external function definitions now have prototypes that are checked.Bruce Momjian
1996-11-10Quiet compiler warnings.Bryan Henderson
1996-11-10Remove #include <regex.h> so it compiles on systems with GNU regex library.Bryan Henderson
1996-11-09Makefile cleanup after reorganizationBruce Momjian
1996-11-08More compile cleanupsBruce Momjian
1996-11-08Compile and warning cleanupBruce Momjian
1996-11-06Another directory that compiles with no errors, and few warningsMarc G. Fournier
1996-11-06Make sure that #include <postgres.h> is included in fmgrtab.cMarc G. Fournier
1996-11-06Some compile failure fixes from Keith Parks <emkxp01@mtcc.demon.co.uk>Marc G. Fournier
1996-11-04Remove OPENLINK defineBruce Momjian
1996-11-04Remove ARRAY_PATCH defineBruce Momjian
1996-11-04Remove ESCAPE_PATCH defineBruce Momjian