summaryrefslogtreecommitdiff
path: root/src/backend/utils/init
Commit message (Collapse)AuthorAgeFilesLines
* From: Phil Thompson <phil@river-bank.demon.co.uk>Marc G. Fournier1998-01-291-2/+2
| | | | | | | | | | | 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.
* From: Phil Thompson <phil@river-bank.demon.co.uk>Marc G. Fournier1998-01-261-2/+3
| | | | | | | | | | | | | | | | | | | 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.
* getpid/pid cleanupBruce Momjian1998-01-251-2/+3
|
* This patch fixes one of two problems with grant/revoke statements on theMarc G. Fournier1998-01-251-3/+3
| | | | | | Linux platform. From: James Hughes <jamesh@interpath.com>
* Major cleanout of PORTNAME variables from Makefiles...bound to screw upMarc G. Fournier1997-12-201-5/+1
| | | | some of the ports...
* First clean compile without a "PORTNAME" variable being set...Marc G. Fournier1997-12-201-2/+1
|
* More cleanups. I can now compile without PORTNAME being defined nMarc G. Fournier1997-12-191-4/+6
| | | | | | | | | 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 :)
* Remove tqual.h includes not needed.Bruce Momjian1997-11-242-4/+2
|
* Get rid of unused variable 'address'.Vadim B. Mikheev1997-11-181-3/+1
|
* Apply Bryan's IPC PatchesMarc G. Fournier1997-11-171-11/+18
| | | | From: Bryan Henderson <bryanh@giraffe.netgate.net>
* Remove pg_magic, defaults, server, hosts, and demon tables. unused.Bruce Momjian1997-11-151-6/+1
|
* Add errormsg initialization from patch by Keith Parks.Thomas G. Lockhart1997-11-101-1/+3
|
* Add Unix domain socket support, from Goran Thyni, goran@bildbasen.seBruce Momjian1997-11-071-4/+1
|
* Support alternate database locations.Thomas G. Lockhart1997-11-071-199/+123
|
* Good Bye, Time Travel!Vadim B. Mikheev1997-11-021-2/+1
|
* No more SortTuplesInTree...Vadim B. Mikheev1997-09-181-2/+1
|
* + int SortTuplesInTree = 2560;Vadim B. Mikheev1997-09-181-1/+2
| | | | (default value for max number of tuples in leftist tree)
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-084-104/+103
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-075-902/+955
|
* Remove unneeded stat calls.Bruce Momjian1997-08-272-17/+9
|
* Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian1997-08-192-6/+13
| | | | NOT_USED.
* Cleanup global variables, remove stable memory stuff.Bruce Momjian1997-08-141-1/+4
|
* Remove more (void) and fix -Wall warnings.Bruce Momjian1997-08-121-3/+3
|
* Fix pgproc names over 15 chars in output. Add strNcpy() function. remove ↵Bruce Momjian1997-08-121-9/+9
| | | | some (void) casts that are unnecessary.
* Various compile errors concerning overflow due to shifts, unsigned, and bad ↵Bruce Momjian1997-07-241-2/+1
| | | | prototypes, from Solaris, from Diab Jerius
* Change mixed-case routines to lower-case if referenced in pg_proc.hThomas G. Lockhart1997-04-271-2/+6
|
* From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>Marc G. Fournier1997-03-281-2/+2
| | | | | | | | | | | | | Subject: [HACKERS] Small date patches (resubmitted) Here a some small patches for the date/time code. They set the default output format for the datetime type to the traditional Postgres style, and fix a date debugging declaration. I submitted these a couple of days ago, but they might have gotten lost... NOTE: the second patch to dt.c is what I believe D'Arcy submitted as well, that I claimed was taken out...sorry D'Arcy, my fault :(
* From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>Marc G. Fournier1997-03-251-2/+3
| | | | | | | | | | | | | | | | | | | | | Subject: [HACKERS] More patches for date/time I have accumulated several patches to add functionality to the datetime and timespan data types as well as to fix reported porting bugs on non-BSD machines. These patches are: dt.c.patch - add datetime_part(), fix bugs dt.h.patch - add quarter and timezone support, add prototypes globals.c.patch - add time and timezone variables miscadmin.h.patch - add time and timezone variables nabstime.c.patch - add datetime conversion routine nabstime.h.patch - add prototypes pg_operator.h.patch - add datetime operators, clean up formatting pg_proc.h.patch - add datetime functions, reassign conflicting date OIDs pg_type.h.patch - add datetime and timespan data types The dt.c and pg_proc.h patches are fairly large; the latter mostly because I tried to get some columns for existing entries to line up.
* - Move most of the I/O in both libpq and the backend to a setMarc G. Fournier1997-03-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | of common routines in pqcomprim.c (pq communication primitives). Not all adapted to it yet, but it's a start. - Rewritten some of those routines, to write/read bigger chunks of data, precomputing stuff in buffers instead of sending out byte by byte. - As a consequence, I need to know the endianness of the machine. Currently I rely on getting it from machine/endian.h, but this may not be available everywhere? (Who the hell thought it was a good idea to pass integers to the backend the other way around than the normal network byte order? *argl*) - Libpq looks in the environment for magic variables, and upon establishing a connection to the backend, sends it queries of the form "SET var_name TO 'var_value'". This needs a change in the backend parser (Mr. Parser, are you there? :) - Currently it looks for two Env-Vars, namely PG_DATEFORMAT and PG_FLOATFORMAT. What else makes sense? PG_TIMEFORMAT? PG_TIMEZONE? From: "Martin J. Laubach" <mjl@wwx.vip.at>
* Resync the source tree, commit some things that were missing (pqcomprim.c) andMarc G. Fournier1997-03-181-2/+6
| | | | bring in Thomas's updates for the date/time code...
* Remove WIN32 defines. They never worked.Bruce Momjian1997-02-143-44/+3
|
* Bring in a patch from Keith Parks to move the use of European datesMarc G. Fournier1997-01-261-1/+3
| | | | | | from a #define to a run-time option '-e' Man page was updated to reflect new option
* Eliminate dupliclate definition of external variables reldesc and DataDir.Bryan Henderson1997-01-141-3/+7
| | | | Some compilers recognize this error.
* Change the way ipc.h is included because sys/ipc.h on Ultrix is broken.Bryan Henderson1997-01-081-2/+2
|
* The routines in magic.c have moved to the more accessible version.c.Bryan Henderson1996-11-191-167/+0
|
* Remove most compile-time options, add a few runtime options to make up for it.Bryan Henderson1996-11-143-47/+3
| | | | | | | 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 new utils/version.c instead of backend/utils/init/magic.c.Bryan Henderson1996-11-122-298/+309
|
* Makefile cleanup after reorganizationBruce Momjian1996-11-091-2/+1
|
* Compile and warning cleanupBruce Momjian1996-11-081-2/+2
|
* Another directory that compiles with no errors, and few warningsMarc G. Fournier1996-11-065-7/+18
|
* Added needed include file.Bruce Momjian1996-10-311-1/+2
|
* Simplify make files, add full dependencies.Bryan Henderson1996-10-272-14/+40
|
* Mostly adding "const" keyword and making some functions static.Marc G. Fournier1996-10-071-7/+7
| | | | Submitted by: D'Arcy Cain
* Should finish cleaning out the machine.h includesMarc G. Fournier1996-08-271-4/+1
|
* Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier1996-07-097-0/+1611