summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1998-08-17Just a couple of "after-commit" cleanups...Marc G. Fournier
1998-08-17Date: Sun, 16 Aug 1998 14:56:48 -0400Marc G. Fournier
From: Tom Lane <tgl@sss.pgh.pa.us> Attached is a patch for this weekend's work on libpq. I've dealt with several issues: <for details: see message, in pgsql-patches archive for above data>
1998-08-16Allow a null pointer to be returned from get_opname().Thomas G. Lockhart
Previously, had thrown an error, but looking for alternate strategies for table indices utilization would prefer to continue.
1998-08-16Check for null pointer returned from get_opname().Thomas G. Lockhart
Don't bother checking for alternate strategies if so since it was more likely a function or some other non-operator anyway.
1998-08-16Check for null pointer returned from get_opname().Thomas G. Lockhart
1998-08-16Disable not-ready-to-use support code for the line data type.Thomas G. Lockhart
Bracket things with #ifdef ENABLE_LINE_TYPE. The line data type has always been used internally to support other types, but I/O routines have never been defined for it.
1998-08-15This README only mentions nroff problems with page.5, which has beenThomas G. Lockhart
removed from the man pages and put into the new sgml docs.
1998-08-15Include a sentence in the top pointing to the new docs.Thomas G. Lockhart
pgbuiltin.3 is obsolete for sure, and libpq.3 can become so since the size and scope of this man page is not appropriate in a man page format.
1998-08-15Converted to page.sgml. Not needed in a man page.Thomas G. Lockhart
1998-08-15Information moved to sgml source files.Thomas G. Lockhart
The "Oracle compatibility" page should have always been in with functions anyway. The BKI information is not really appropriate for a man page.
1998-08-15Remove single-argument trim() function from table.Thomas G. Lockhart
Never seen because the parser frontend converts all trim() calls to btrim(), ltrim(), and rtime() calls before execution.
1998-08-15Some old cleanup fixes for close_ps() from G. Thaker.Thomas G. Lockhart
1998-08-14Allow binary-compatible indices to be considered when checking for validThomas G. Lockhart
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.
1998-08-14Include OID as a built-in type.Thomas G. Lockhart
1998-08-14Check for bad result from pg_id. A bad result can come from shared libraryThomas G. Lockhart
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...
1998-08-11fix typo.Bruce Momjian
1998-08-11Strategy cleanups.Bruce Momjian
1998-08-11index strategy cleanupBruce Momjian
1998-08-11 the following patch fixes a bug in the oracle compatibilityBruce Momjian
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) #
1998-08-11This one cleans the cursor problems ecpg had so far. It is now ableBruce Momjian
to understand cursors with variables. Michael
1998-08-11Change owner from oid to int4 type.Bruce Momjian
1998-08-11More op_class cleanup.Bruce Momjian
1998-08-11Remove NOBTREE defines, and make findoidlinks handle regproc.Bruce Momjian
1998-08-11cleanup.Bruce Momjian
1998-08-10Add new \w write command to psql.Bruce Momjian
1998-08-10Update flowchart.Bruce Momjian
1998-08-10Update flowchart.Bruce Momjian
1998-08-10Cleanups of optimizer.Bruce Momjian
1998-08-10Cleanup optimizer function names and clarify code.Bruce Momjian
1998-08-09Update pgindent.Bruce Momjian
1998-08-09New pgindent.Bruce Momjian
1998-08-09cleanups.Bruce Momjian
1998-08-09The attached patch implements some changes that were discussed aBruce Momjian
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
1998-08-07OPTIMIZER_DEBUG additions.Bruce Momjian
1998-08-06Make large objects their own relkind type. Fix dups in pg_class_mbBruce Momjian
files. Fix sequence creation hack for relkind type.
1998-08-05flowchart updateBruce Momjian
1998-08-05flowchart updateBruce Momjian
1998-08-05Fix for \d index display.Bruce Momjian
1998-08-05From: David Hartwig <daybee@bellatlantic.net>Marc G. Fournier
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 ***
1998-08-05From: Dr. Michael Meskes <meskes@online-club.de>Marc G. Fournier
So this should finally get cursors working. There was an ugly bug in it.
1998-08-04OR processing cleanup.Bruce Momjian
1998-08-04Add Indices display to \d command.Bruce Momjian
1998-08-04Fix encoding grammer problem.Bruce Momjian
1998-08-04MergeSort was sometimes called mergejoin and was confusing. NowBruce Momjian
it is now only mergejoin.
1998-08-04EXPLAIN VERBOSE prints the plan, and now pretty-prints the plan toBruce Momjian
the postmaster log file.
1998-08-04Make EXPLAIN show output more clearly.Bruce Momjian
1998-08-04Update flow chart.Bruce Momjian
1998-08-03Update mark/reset index code for multiple indexes, (OR code).Bruce Momjian
Thanks for Vadim for fixes.
1998-08-03Fix typo in man pages.Bruce Momjian
1998-08-03Cleanup of OR processing.Bruce Momjian