summaryrefslogtreecommitdiff
path: root/src/backend/libpq
Commit message (Collapse)AuthorAgeFilesLines
* Remove fmgrstamp-h business -- not needed and confusingPeter Eisentraut2000-06-171-7/+1
| | | | | Add options to configure to automatically build for Kerberos support; no more editing of make files.
* Big warnings cleanup for Solaris/GCC. Down to about 40 now, butPeter Eisentraut2000-06-141-3/+3
| | | | | | | | | | | we'll get there one day. Use `cat' to create aclocal.m4, not `aclocal'. Some people don't have automake installed. Only run the autoconf rule in the top-level GNUmakefile if the invoker specified `make configure', don't run it automatically because of CVS timestamp skew.
* Substituted new configure test for types of accept()Peter Eisentraut2000-06-112-6/+6
| | | | | | | | | | | Interfaced a lot of the custom tests to the config.cache, in the process made them separate macros and grouped them out into files. Made naming adjustments. Removed a couple of useless/unused configure tests. Disabled C++ by default. C++ is no more special than Perl, Python, and Tcl. And it breaks equally often. :(
* Another round of updates for new fmgr, mostly in the datetime code.Tom Lane2000-06-092-52/+85
|
* PGPORT envar was erroneously ignored by the backendPeter Eisentraut2000-06-061-14/+1
|
* New ps display code, works on more platforms.Peter Eisentraut2000-06-041-5/+4
| | | | | | Install a default configuration file. Clean up some funny business in the config file code.
* Remove NT-specific file open defines by defining our own open macros forBruce Momjian2000-06-025-50/+14
| | | | "rb" and "wb".
* The heralded `Grand Unified Configuration scheme' (GUC)Peter Eisentraut2000-05-311-10/+4
| | | | | | | | | | | | | That means you can now set your options in either or all of $PGDATA/configuration, some postmaster option (--enable-fsync=off), or set a SET command. The list of options is in backend/utils/misc/guc.c, documentation will be written post haste. pg_options is gone, so is that pq_geqo config file. Also removed were backend -K, -Q, and -T options (no longer applicable, although -d0 does the same as -Q). Added to configure an --enable-syslog option. changed all callers from TPRINTF to elog(DEBUG)
* Update pg_hba.conf with more examplesBruce Momjian2000-05-301-1/+1
|
* Update pg_hba.conf.sample with better examples and descriptionsBruce Momjian2000-05-301-85/+99
|
* Copy pg_ident.conf.sample into /lib directory. Rename USERAUTH toBruce Momjian2000-05-301-5/+5
| | | | AUTHTYPE in config file. Patch both branches.
* Third round of fmgr updates: eliminate calls using fmgr() andTom Lane2000-05-301-3/+5
| | | | | fmgr_faddr() in favor of new-style calls. Lots of cleanup of sloppy casts to use XXXGetDatum and DatumGetXXX ...
* Generated header files parse.h and fmgroids.h are now copied intoTom Lane2000-05-291-3/+1
| | | | | the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
* First round of changes for new fmgr interface. fmgr itself and theTom Lane2000-05-282-23/+25
| | | | | | | key call sites are changed, but most called functions are still oldstyle. An exception is that the PL managers are updated (so, for example, NULL handling now behaves as expected in plperl and plpgsql functions). NOTE initdb is forced due to added column in pg_proc.
* Update kerberos patchBruce Momjian2000-05-271-99/+104
|
* Back out kerberos changes. Causes compile problems.Bruce Momjian2000-05-271-104/+99
|
* Patch for Kerberos V.Bruce Momjian2000-05-271-99/+104
| | | | | | | | | | | | Most (nearly all) of the work was done by David Wragg <dpw@doc.ic.ac.uk> He patched 6.5.3. I've updated it for 7.0RC5. It works for MIT kerberos 1.1.1 (and previously for 1.0.6 as well). I've got the patch against 6.5.3, plus kerberized RPMS. Mike Wyer <mw@doc.ic.ac.uk> || "Woof?"
* Clean up pg_hba.confBruce Momjian2000-05-271-8/+8
|
* Improve pg_hba.conf examplesBruce Momjian2000-05-271-6/+6
|
* After closing frontend socket, set MyProcPort->sock = -1 to ensure thatTom Lane2000-05-261-1/+5
| | | | | | | | | subsequent I/O attempts fail cleanly. I'm speculating about failure scenarios in which we do pq_close, then something in a proc_exit routine opens a file (re-using that kernel FD number), then something else fails and tries to write an elog message to the frontend ... message ends up in opened file, oops. No known examples of this but it seems like a potential hole.
* Remove calls to getprotobyname(), which we now know leaks memory onTom Lane2000-05-211-10/+3
| | | | | | some platforms --- and I also see that it is documented as not thread- safe on HPUX and possibly other platforms. No good reason not to just use IPPROTO_TCP constant from <netinet/in.h> instead.
* Add KEEPALIVE option to the socket of backend. This will automaticallyTatsuo Ishii2000-05-201-2/+8
| | | | terminate the backend that has no frontend anymore.
* Skip setsockopt(SO_REUSEADDR) for the Unix-domain postmaster socket onTom Lane2000-04-141-7/+1
| | | | | | all platforms, not just SCO. The operation is undefined for Unix-domain sockets anyway. It seems SCO is not the only platform that complains instead of treating the call as a no-op.
* Ye-old pgindent run. Same 4-space tabs.Bruce Momjian2000-04-128-66/+74
|
* Several calls to StrNCpy incorrectly subtracted 1 from the length arg,Tom Lane2000-03-191-2/+2
| | | | leading to postmaster accepting args 1 shorter than it had room for.
* Fix a bunch of minor portability problems and maybe-bugs revealed byTom Lane2000-03-174-12/+12
| | | | | | running gcc and HP's cc with warnings cranked way up. Signed vs unsigned comparisons, routines declared static and then defined not-static, that kind of thing. Tedious, but perhaps useful...
* Add:Bruce Momjian2000-01-2612-24/+36
| | | | | | * Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
* Removed MBFLAGS from makefiles since it's now done in include/config.h.Peter Eisentraut2000-01-191-5/+1
|
* In PQfn(), defend against too many args, and avoid dependencyTom Lane2000-01-121-7/+7
| | | | on FUNC_MAX_ARGS by using an appropriate fmgr() call.
* More cleanups. Still doesn't work.Bruce Momjian2000-01-111-3/+3
|
* More fixes, but still need +1 for FUNC_MAX_ARGSBruce Momjian2000-01-111-1/+3
|
* Make number of args to a function configurable.Bruce Momjian2000-01-101-6/+6
|
* Fix it's and its to be correct.Bruce Momjian2000-01-051-3/+3
|
* New LDOUT makefile variable for QNX os.Bruce Momjian1999-12-131-2/+2
|
* Rename several destroy* functions/tags to drop*.Bruce Momjian1999-12-101-3/+3
|
* Make LD -r as macros that can be changed for QNX.Bruce Momjian1999-12-091-2/+2
|
* verify_password() leaked a file descriptor if it failed to find the givenTom Lane1999-11-231-9/+6
| | | | | userid in the flat password file. Do it enough times and the postmaster panicked :-(
* New NameStr macro to convert Name to Str. No need for var.data anymore.Bruce Momjian1999-11-071-2/+3
| | | | | | Fewer calls to nameout. Better use of RelationGetRelationName.
* Standardize on MAXPGPATH as the size of a file pathname buffer,Tom Lane1999-10-251-2/+3
| | | | | | | eliminating some wildly inconsistent coding in various parts of the system. I set MAXPGPATH = 1024 in config.h.in. If anyone is really convinced that there ought to be a configure-time test to set the value, go right ahead ... but I think it's a waste of time.
* Look Ma, no MAX_PARSE_BUFFER! (At least not in the backend.Tom Lane1999-10-237-53/+67
| | | | pg_dump and interfaces/odbc still need some work.)
* Add README.SSLBruce Momjian1999-09-271-0/+53
|
* Lots of patches coming in from me today :-)Bruce Momjian1999-09-275-45/+101
| | | | | | | | | | When drawing up a very simple "text-drawing" of how the negotiation is done, I realised I had done this last part (fallback) in a very stupid way. Patch #4 fixes this, and does it in a much better way. Included is also the simple text-drawing of how the negotiation is done. //Magnus
* cygwin doesn't have an endian.h, but defines BYTE_ORDER in sys/param.hMarc G. Fournier1999-09-121-1/+4
|
* Eliminate query length limitation imposed by pg_client_to_serverTom Lane1999-09-111-18/+23
| | | | | and pg_server_to_client. Eliminate copy.c's restriction on the length of a single attribute.
* StreamConnection() mustn't call elog().Tom Lane1999-09-081-5/+9
|
* Commit the bulk of Mike Ansley's long-query changes in theTom Lane1999-08-312-34/+21
| | | | backend. Still much left to do.
* Exit cleanups I made yesterday caused pq_close() to beTom Lane1999-07-231-2/+6
| | | | | | invoked during exit from a standalone backend, leading to core dump. This is the cause of the recently reported initdb-time crash :-(. Sorry folks...
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-1713-43/+15
|
* clean up comment on missing file.Bruce Momjian1999-07-171-2/+2
|
* Include checkBruce Momjian1999-07-171-2/+2
|