summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1998-07-09Handle case of GROUP BY target list column number out of range.Thomas G. Lockhart
1998-07-09"select_implicit" is renamed from "junkfilter" test.Thomas G. Lockhart
Move from last test in list up to other "select_xxx" tests.
1998-07-09Renamed from "junkfilter" test.Thomas G. Lockhart
1998-07-09From: Tom Lane <tgl@sss.pgh.pa.us>Marc G. Fournier
I see someone missed an ancient bit of shell-scripting lore: on some older shells, if your script's argument list is empty, then "$@" generates an empty-string word rather than no word at all. You need to write ${1+"$@"} to get the latter behavior. (Read your shell man page to see exactly how that works, but it does the Right Thing on every Bourne shell.) In particular, pg_dumpall fails when invoked without any switches on HPUX 9.*, because pg_dump gets an empty-string argument that it thinks is the name of the database to dump. I expect this bug also affects some other OSes, but couldn't tell you just which ones. Patch attached.
1998-07-09From: Tom Lane <tgl@sss.pgh.pa.us>Marc G. Fournier
The attached patches respond to discussion that was on pgsql-hackers around the beginning of June (see thread "libpgtcl bug (and symptomatic treatment)"). The changes are: 1. Remove code in connectDB that throws away the password after making a connection. This doesn't really add much security IMHO --- a bad guy with access to your client's address space can likely extract the password anyway, to say nothing of what he might do directly. And there's the serious shortcoming that it prevents PQreset() from working if the database requires a password. 2. Fix coredump problem: fe_sendauth did not guard against being handed a NULL password pointer. (This is the proximate cause of the coredump- during-PQreset problem that Magosanyi Arpad complained of last month.) 3. Remove highly questionable "error recovery" logic in libpgtcl's pg_exec statement. I believe the consensus of the discussion last month was in favor of #1 and #3, but I'm just now getting around to making the change. I realized that #2 was a bug in process of looking at the change.
1998-07-09From: Tom Lane <tgl@sss.pgh.pa.us>Marc G. Fournier
Attached are diffs (from current cvs sources) to bring libpq.sgml and libpq.3 up to date. It appears that at various times in the past, people have made edits to one or the other of these files but not both. I propagated some changes from each into the other, but I don't think I caught every inconsistency. It'd be real nice if the man pages could be automatically generated from the SGML...
1998-07-09From: Tom Lane <tgl@sss.pgh.pa.us>Marc G. Fournier
Making PQrequestCancel safe to call in a signal handler turned out to be much easier than I feared. So here are the diffs. Some notes: * I modified the postmaster's packet "iodone" callback interface to allow the callback routine to return a continue-or-drop-connection return code; this was necessary to allow the connection to be closed after receiving a Cancel, rather than proceeding to launch a new backend... Being a neatnik, I also made the iodone proc have a typechecked parameter list. * I deleted all code I could find that had to do with OOB. * I made some edits to ensure that all signals mentioned in the code are referred to symbolically not by numbers ("SIGUSR2" not "2"). I think Bruce may have already done at least some of the same edits; I hope that merging these patches is not too painful.
1998-07-08Surround table and column names with double-quotesThomas G. Lockhart
in generated SQL code to preserve case (SQL92 syntax).
1998-07-08Include tests for new 8-byte integer.Thomas G. Lockhart
Include tests for HAVING clause.
1998-07-08Include int8_tbl from tests for new 8-byte integer.Thomas G. Lockhart
1998-07-08Include tests for new 8-byte integer (minimal).Thomas G. Lockhart
Include tests for HAVING clause.
1998-07-08Include int8 as a built-in data type.Thomas G. Lockhart
Merge "resjunk" handling with automatic type conversion when selecting from another column.
1998-07-08Add int8 8-byte integer type.Thomas G. Lockhart
1998-07-08Add int8 type for 8-byte integers.Thomas G. Lockhart
Fix OID conflict between "line()" and "version()" by changing version OID.
1998-07-08Allow floating point constants for "def_arg" numeric arguments.Thomas G. Lockhart
Used in the generic "CREATE xxx" parsing. Do some automatic type conversion for inserts from other columns. Previous trouble with "resjunk" regression test remains for now.
1998-07-08Include 8-byte integer type.Thomas G. Lockhart
At the moment, probably only works for i686/gcc and Alphas...
1998-07-07Rename signal to SIGHUP.Bruce Momjian
1998-07-07From: "Dr. Michael Meskes" <meskes@online-club.de>Marc G. Fournier
My first try at libpq. This one enables the two styles we agreed upon for database descriptors.
1998-07-07From: "Dr. Michael Meskes" <meskes@online-club.de>Marc G. Fournier
+ Thu Jul 2 20:30:14 CEST 1998 + + - Changed new style db name to allow connection types "tcp" and + "unix" only + + Tue Jul 7 15:14:14 CEST 1998 + + - Fixed some bugs in preproc.y + - Set version to 2.3.4
1998-07-06Patches HPUX applied for Tom Lane.Bruce Momjian
1998-07-06Update lock manager README.Bruce Momjian
1998-07-04Add PQsetdbLogin() and cleanup.Bruce Momjian
1998-07-03Update layoutBruce Momjian
1998-07-03Update flow chartBruce Momjian
1998-07-03win32 cleanupBruce Momjian
1998-07-03Hello!Bruce Momjian
Through some minor changes, I have been able to compile the libpq client libraries on the Win32 platform. Since the libpq communications part has been rewritten, this has become much easier. Enclosed is a patch that will allow at least Microsoft Visual C++ to compile libpq into both a static and a dynamic library. I will take a look at porting the psql frontend as well, but I figured it was a good idea to send in these patches first - so no major changes are done to the files before it gets applied (if it does). Regards, Magnus Hagander
1998-06-30Rename shared memory area.Bruce Momjian
1998-06-30updateBruce Momjian
1998-06-30Rename locking structure names to be clearer. Add narrative toBruce Momjian
backend flowchart.
1998-06-28Rename lockt to locktype and rename LOCKT to LOCKTYPE.Bruce Momjian
1998-06-28updateBruce Momjian
1998-06-28backend update.Bruce Momjian
1998-06-28Update flowchart and backend descriptions.Bruce Momjian
1998-06-28Update backend flowchart.Bruce Momjian
1998-06-27Rename BindingTable to ShmemIndex.Bruce Momjian
1998-06-27More cleanups for compiler warnings.Bruce Momjian
1998-06-27Rename proc_exit_clear to on_exit_reset.Bruce Momjian
1998-06-27Fix for hang after postmaster restart. Add new proc_exit andBruce Momjian
shmem_exit to replace exitpg().
1998-06-26Rename Lockm to Locks.Bruce Momjian
1998-06-26Rename LockTab to LockTable in function name.Bruce Momjian
1998-06-25Rename BindingTab to BindingTable.Bruce Momjian
1998-06-24cleanupBruce Momjian
1998-06-24regenerate manual page list.Bruce Momjian
1998-06-24manual cleanupBruce Momjian
1998-06-24Add another underscore to manual page name.Bruce Momjian
1998-06-23Back out some changes I made just for testing.Bruce Momjian
1998-06-23Add underscores in manual references.Bruce Momjian
1998-06-23cleanupsBruce Momjian
1998-06-23Remove mention of monitor in manual pages.Bruce Momjian
1998-06-23rename MAIN_MEMORY to STABLE_MEMORY_STORAGEBruce Momjian