summaryrefslogtreecommitdiff
path: root/src/backend/libpq
AgeCommit message (Collapse)Author
2000-06-17Remove fmgrstamp-h business -- not needed and confusingPeter Eisentraut
Add options to configure to automatically build for Kerberos support; no more editing of make files.
2000-06-14Big warnings cleanup for Solaris/GCC. Down to about 40 now, butPeter Eisentraut
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.
2000-06-11Substituted new configure test for types of accept()Peter Eisentraut
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. :(
2000-06-09Another round of updates for new fmgr, mostly in the datetime code.Tom Lane
2000-06-06PGPORT envar was erroneously ignored by the backendPeter Eisentraut
2000-06-04New ps display code, works on more platforms.Peter Eisentraut
Install a default configuration file. Clean up some funny business in the config file code.
2000-06-02Remove NT-specific file open defines by defining our own open macros forBruce Momjian
"rb" and "wb".
2000-05-31The heralded `Grand Unified Configuration scheme' (GUC)Peter Eisentraut
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)
2000-05-30Update pg_hba.conf with more examplesBruce Momjian
2000-05-30Update pg_hba.conf.sample with better examples and descriptionsBruce Momjian
2000-05-30Copy pg_ident.conf.sample into /lib directory. Rename USERAUTH toBruce Momjian
AUTHTYPE in config file. Patch both branches.
2000-05-30Third round of fmgr updates: eliminate calls using fmgr() andTom Lane
fmgr_faddr() in favor of new-style calls. Lots of cleanup of sloppy casts to use XXXGetDatum and DatumGetXXX ...
2000-05-29Generated header files parse.h and fmgroids.h are now copied intoTom Lane
the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
2000-05-28First round of changes for new fmgr interface. fmgr itself and theTom Lane
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.
2000-05-27Update kerberos patchBruce Momjian
2000-05-27Back out kerberos changes. Causes compile problems.Bruce Momjian
2000-05-27Patch for Kerberos V.Bruce Momjian
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?"
2000-05-27Clean up pg_hba.confBruce Momjian
2000-05-27Improve pg_hba.conf examplesBruce Momjian
2000-05-26After closing frontend socket, set MyProcPort->sock = -1 to ensure thatTom Lane
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.
2000-05-21Remove calls to getprotobyname(), which we now know leaks memory onTom Lane
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.
2000-05-20Add KEEPALIVE option to the socket of backend. This will automaticallyTatsuo Ishii
terminate the backend that has no frontend anymore.
2000-04-14Skip setsockopt(SO_REUSEADDR) for the Unix-domain postmaster socket onTom Lane
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.
2000-04-12Ye-old pgindent run. Same 4-space tabs.Bruce Momjian
2000-03-19Several calls to StrNCpy incorrectly subtracted 1 from the length arg,Tom Lane
leading to postmaster accepting args 1 shorter than it had room for.
2000-03-17Fix a bunch of minor portability problems and maybe-bugs revealed byTom Lane
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...
2000-01-26Add:Bruce Momjian
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
2000-01-19Removed MBFLAGS from makefiles since it's now done in include/config.h.Peter Eisentraut
2000-01-12In PQfn(), defend against too many args, and avoid dependencyTom Lane
on FUNC_MAX_ARGS by using an appropriate fmgr() call.
2000-01-11More cleanups. Still doesn't work.Bruce Momjian
2000-01-11More fixes, but still need +1 for FUNC_MAX_ARGSBruce Momjian
2000-01-10Make number of args to a function configurable.Bruce Momjian
2000-01-05Fix it's and its to be correct.Bruce Momjian
1999-12-13New LDOUT makefile variable for QNX os.Bruce Momjian
1999-12-10Rename several destroy* functions/tags to drop*.Bruce Momjian
1999-12-09Make LD -r as macros that can be changed for QNX.Bruce Momjian
1999-11-23verify_password() leaked a file descriptor if it failed to find the givenTom Lane
userid in the flat password file. Do it enough times and the postmaster panicked :-(
1999-11-07New NameStr macro to convert Name to Str. No need for var.data anymore.Bruce Momjian
Fewer calls to nameout. Better use of RelationGetRelationName.
1999-10-25Standardize on MAXPGPATH as the size of a file pathname buffer,Tom Lane
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.
1999-10-23Look Ma, no MAX_PARSE_BUFFER! (At least not in the backend.Tom Lane
pg_dump and interfaces/odbc still need some work.)
1999-09-27Add README.SSLBruce Momjian
1999-09-27Lots of patches coming in from me today :-)Bruce Momjian
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
1999-09-12cygwin doesn't have an endian.h, but defines BYTE_ORDER in sys/param.hMarc G. Fournier
1999-09-11Eliminate query length limitation imposed by pg_client_to_serverTom Lane
and pg_server_to_client. Eliminate copy.c's restriction on the length of a single attribute.
1999-09-08StreamConnection() mustn't call elog().Tom Lane
1999-08-31Commit the bulk of Mike Ansley's long-query changes in theTom Lane
backend. Still much left to do.
1999-07-23Exit cleanups I made yesterday caused pq_close() to beTom Lane
invoked during exit from a standalone backend, leading to core dump. This is the cause of the recently reported initdb-time crash :-(. Sorry folks...
1999-07-17 Move some system includes into c.h, and remove duplicates.Bruce Momjian
1999-07-17clean up comment on missing file.Bruce Momjian
1999-07-17Include checkBruce Momjian