summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1999-11-16Fix lookup of temp table names that I missed yesterday.Bruce Momjian
1999-11-16Modify elog() logic so that it won't try to longjmp(Warn_restart) beforeTom Lane
Warn_restart has been set by the backend main loop. This means that elog(ERROR) or elog(FATAL) in the postmaster or during backend startup now have well-defined behavior: proc_exit() rather than coredump. In the case of elog() inside the postmaster, I think that proc_exit() is probably not enough --- don't we want our child backends to be forced to quit too? But I don't understand Vadim's recent changes in this area, so I'll leave it to him to look over and tweak if needed.
1999-11-16Commit to make clearer distinction for temp names and real names.Bruce Momjian
Thanks to Tom Lane for ideas.
1999-11-15Tree dividing is not appropriate in Rtree.Tatsuo Ishii
This fix is reported by Hiroki Kataoka (kataoka@interwiz.koganei.tokyo.jp).
1999-11-15Clean up possible memory leakage in nodeSubplanTom Lane
1999-11-15Implement subselects in target lists. Also, relax requirement thatTom Lane
subselects can only appear on the righthand side of a binary operator. That's still true for quantified predicates like x = ANY (SELECT ...), but a subselect that delivers a single result can now appear anywhere in an expression. This is implemented by changing EXPR_SUBLINK sublinks to represent just the (SELECT ...) expression, without any 'left hand side' or combining operator --- so they're now more like EXISTS_SUBLINK. To handle the case of '(x, y, z) = (SELECT ...)', I added a new sublink type MULTIEXPR_SUBLINK, which acts just like EXPR_SUBLINK used to. But the grammar will only generate one for a multiple-left-hand-side row expression.
1999-11-15Update sanity_check regress test to pass now that pg_indexTom Lane
and pg_amop have indexes.
1999-11-14Fix typo so it actually compiles...Tom Lane
1999-11-14Add recreate index notice to vacuum error.Bruce Momjian
1999-11-14Tweak make rules for parse.h and fmgr.h to avoid bug in oldTom Lane
versions of gmake.
1999-11-14Add index recreation suggestion to end of world error message.Bruce Momjian
1999-11-13Fix for psql control-d and .psqlrc that I broke. Fix for \dT withBruce Momjian
descriptions enabled.
1999-11-13The \p\g fix didn't turn out to be so bad. It even works in otherBruce Momjian
circumstances: => select * from foo\x\t\pset border 0 \p\g\\select * from bar; Also the release prep update so the sql_help.h is generated before packaging. Peter.
1999-11-12Fix ExecSubPlan to handle nulls per the SQL spec --- it didn't combineTom Lane
nulls with non-nulls using proper three-valued boolean logic. Also clean up ExecQual to make it clearer that ExecQual *does* follow the SQL spec for boolean nulls. See '[BUGS] (null) != (null)' thread around 10/26/99 for more detail.
1999-11-11In the spirit of TODO itemBruce Momjian
* Add use of 'const' for varibles in source tree (which is misspelled, btw.) I went through the front-end libpq code and did so. This affects in particular the various accessor functions (such as PQdb() and PQgetvalue()) as well as, by necessity, the internal helpers they use. I have been really thorough in that regard, perhaps some people will find it annoying that things like char * foo = PQgetvalue(res, 0, 0) will generate a warning. On the other hand it _should_ generate one. This is no real compatibility break, although a few clients will have to be fixed to suppress warnings. (Which again would be in the spirit of the above TODO.) In addition I replaced some int's by size_t's and removed some warnings (and generated some new ones -- grmpf!). Also I rewrote PQoidStatus (so it actually honors the const!) and supplied a new function PQoidValue that returns a proper Oid type. This is only front-end stuff, none of the communicaton stuff was touched. The psql patch also adds some new consts to honor the new libpq situation, as well as fixes a fatal condition that resulted when using the -V (--version) option and there is no database listening. So, to summarize, the psql you should definitely put in (with or without the libpq). If you think I went too far with the const-mania in libpq, let me know and I'll make adjustments. If you approve it, I will also update the docs. -Peter -- Peter Eisentraut Sernanders vaeg 10:115
1999-11-10Cleanup of psql \copyrightBruce Momjian
1999-11-08psql makefile fix from Keith ParksBruce Momjian
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-11-06exit recursion fix from MassimoBruce Momjian
1999-11-06Fix for recusive exit call from Massimo.Bruce Momjian
1999-11-06Sort help file names, from Peter EisentrautBruce Momjian
1999-11-06Add Linux ARM.Bruce Momjian
1999-11-05Update psql bannerBruce Momjian
1999-11-05Update psql display.Bruce Momjian
1999-11-05environment variable set by MULTIBYTE startup code should beTom Lane
stored in malloc'd space, not in a static variable. Otherwise environment variable list is corrupted if libpq is dynamically unlinked...
1999-11-05Update \? display.Bruce Momjian
1999-11-05Make pager on by default.Bruce Momjian
1999-11-05Clean up \? psql display.Bruce Momjian
1999-11-05psql banner cleanupBruce Momjian
1999-11-05clean up startup bannerBruce Momjian
1999-11-04Fix EOF/control-D display in psql.Bruce Momjian
1999-11-04Update to psql, run pgindent.Bruce Momjian
1999-11-04psql cleanupBruce Momjian
1999-11-04Update psql with man pages and new version of help.Bruce Momjian
1999-11-04Major psql overhaul by Peter Eisentraut.Bruce Momjian
1999-11-04autoconfBruce Momjian
1999-11-04Improve getopt and readline support, from Peter Eisentraut.Bruce Momjian
1999-11-04Update bsdi for bsd/os 4.1Bruce Momjian
1999-11-04Make it possible to execute crashed CREATE/DROP commands again.Hiroshi Inoue
Now indexes of pg_class and pg_type are unique indexes and guarantee the uniqueness of correponding attributes. heap_create() was changed to take another boolean parameter which allows to postpone the creation of disk file. The name of rd_nonameunlinked was changed to rd_unlinked. It is used generally(not only for noname relations) now. Requires initdb.
1999-11-02*** empty log message ***Michael Meskes
1999-11-02*** empty log message ***Michael Meskes
1999-11-02update for pgaccessBruce Momjian
1999-11-01autoconfBruce Momjian
1999-11-01Update pgaccessBruce Momjian
1999-11-01autoconfBruce Momjian
1999-11-01Update for pgaccess 0.98.Bruce Momjian
1999-11-01Eliminate RewritePreprocessQuery, which was taking anTom Lane
unreasonable amount of time to clean up after a vanished parser problem. Don't call fireRIRonSubselect when we know there are no subselects, either.
1999-11-01Eliminate some unbelievably cheesy code in _copyConst().Tom Lane
Apparently, back in the dim reaches of prehistory, the parser couldn't be trusted to label Const nodes with the correct constbyval value ... and someone preferred to patch around this in copyObject rather than fix the problem at the source. The problem is long gone, but the hack lingered on. Until now.
1999-11-01Inline check for full buffer in appendStringInfoChar.Tom Lane
1999-11-01Don't call ExecOpenIndices if pg_class relhasindex shows there are noTom Lane
indexes to open. Avoid unnecessary work in ExecCheckPerm, too.