- 09 Aug, 1998 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
The attached patch implements some changes that were discussed a couple weeks ago on the hackers and interfaces lists: 1. When the backend sends a NOTICE message and closes the connection (typically, because it was told to by the postmaster after another backend coredumped), libpq will now print the notice and close the connection cleanly. Formerly, the frontend app would usually terminate ungracefully due to a SIGPIPE. (I am not sure if 6.3.2 behaved that way, but the current cvs sources do...) 2. libpq's various printouts to stderr are now fed through a single "notice processor" routine, which can be overridden by the application to direct notices someplace else. This should ease porting libpq to Windows. I also noticed and fixed a problem in PQprint: when sending output to a pager subprocess, it would disable SIGPIPE in case the pager terminates early (this is good) --- but afterwards it reset SIGPIPE to SIG_DFL, rather than restoring the application's prior setting (bad). regards, tom lane
-
- 07 Aug, 1998 1 commit
-
-
Bruce Momjian authored
-
- 06 Aug, 1998 1 commit
-
-
Bruce Momjian authored
files. Fix sequence creation hack for relkind type.
-
- 05 Aug, 1998 5 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Marc G. Fournier authored
I have attached a patch to allow GROUP BY and/or ORDER BY function or expressions. Note worthy items: 1. The expression or function need not be in the target list. Example: SELECT name FROM foo GROUP BY lower(name); 2. Simplified the grammar to use expressions only. 3. Cleaned up earlier patch in this area to make use of existing utility functions. 3. Reduced some of the members in the SortGroupBy parse node. The original data members were redundant with the new expression node. (MUST do a "make clean" now) 4. Added a new parse node "JoinUsing". The JOIN USING clause was overloading this SortGroupBy structure. With the afore mentioned reduction of members, the two clauses lost all their commonality. 5. A bug still exist where, if a function or expression is GROUPed BY, and an aggregate function does not include a attribute from the expression or function, the backend crashes. (or something like that) The bug pre-dates this patch. Example: SELECT lower(a) AS lowcase, count(b) FROM foo GROUP BY lowcase; *** BOOM *** --Also when not in target list SELECT count(b) FROM foo GROUP BY lower(a); *** BOOM AGAIN ***
-
Marc G. Fournier authored
From: Dr. Michael Meskes <meskes@online-club.de> So this should finally get cursors working. There was an ugly bug in it.
-
- 04 Aug, 1998 7 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
it is now only mergejoin.
-
Bruce Momjian authored
the postmaster log file.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 03 Aug, 1998 3 commits
-
-
Bruce Momjian authored
Thanks for Vadim for fixes.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 02 Aug, 1998 4 commits
-
-
Thomas G. Lockhart authored
There are three or four cases in transformSortClause() and I had fixed only one case for UNION. A second case is now fixed, in the same way; I assigned INT4OID to the column type for the "won't actually happen" sort. Didn't want to skip the code entirely, since the backend needs to _try_ a sort to get the NULLs right. I'm not certain under what circumstances the other cases are invoked and these are not yet fixed up, though perhaps they don't need to be...
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 01 Aug, 1998 5 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Marc G. Fournier authored
Adrian Hall reported a problem to me that snprintf() doesn't exist in, at least, Solaris 2.5.1. We use it in backend/utils/adt/int8.c. Add a check to configure so that we see if it exists or not, and, if not, compile in snprintf.c from backend/port, which was taken from, and falls under the same Berkeley license as us, the FreeBSD libc/stdio ...
-
Vadim B. Mikheev authored
-
- 31 Jul, 1998 1 commit
-
-
Vadim B. Mikheev authored
-
- 30 Jul, 1998 1 commit
-
-
Vadim B. Mikheev authored
-
- 29 Jul, 1998 10 commits
-
-
Thomas G. Lockhart authored
This was the Postgres95 documentation written by Jolly and Chu...
-
Thomas G. Lockhart authored
-
Thomas G. Lockhart authored
This should be the right thing now...
-
Thomas G. Lockhart authored
to be meaningful.
-
Thomas G. Lockhart authored
Fix Id tag in chapter headings to allow meaningful file names in html.
-
Thomas G. Lockhart authored
Include tables of possible source files throughout tree.
-
Thomas G. Lockhart authored
Fix examples for regex operators.
-
Thomas G. Lockhart authored
-
Thomas G. Lockhart authored
-
Thomas G. Lockhart authored
-