- 15 Aug, 1998 9 commits
-
-
Thomas G. Lockhart authored
Make sure all files end with a newline.
-
Thomas G. Lockhart authored
Now back in sync with libpq.3 man page, which should be obsolete soon.
-
Thomas G. Lockhart authored
-
Thomas G. Lockhart authored
and plans for some of them.
-
Thomas G. Lockhart authored
-
Thomas G. Lockhart authored
on the mailing lists a while ago. Maybe slightly changed to fit docs. Will go into the User's Guide.
-
Thomas G. Lockhart authored
anyway, so this will replace them as of now.
-
Thomas G. Lockhart authored
Never seen because the parser frontend converts all trim() calls to btrim(), ltrim(), and rtime() calls before execution.
-
Thomas G. Lockhart authored
-
- 14 Aug, 1998 3 commits
-
-
Thomas G. Lockhart authored
indices for restriction clauses containing a constant. Note that if an index does not match directly (usually because the types on both side of the clause don't match), and if a binary-compatible index is identified, then the operator function will be replaced by a new one. Should not be a problem, but be sure that if types are listed as being binary compatible (in parse_coerce.h) then the comparison functions are also binary-compatible, giving equivalent results.
-
Thomas G. Lockhart authored
-
Thomas G. Lockhart authored
trouble, and the name of the shared library has been changed recently. Had to rerun ldconfig on my machine to get it working again. Give an error message with a helpful hint if so...
-
- 11 Aug, 1998 10 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
functions btrim() ltrim() and rtrim(). The error was that the character after the set was included in the tests (ptr2 pointed to the character after the vardata part of set if no match found, so comparing *ptr or *end against *ptr2 MAY match -> strip). Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #======================================== jwieck@debis.com (Jan Wieck) #
-
Bruce Momjian authored
to understand cursors with variables. Michael
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 10 Aug, 1998 5 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 09 Aug, 1998 4 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
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
From: David Hartwig <daybee@bellatlantic.net> 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 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-