summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1998-10-03Changes from Michael Meskes:Thomas G. Lockhart
Check strdup calls for out of memory. Set library version to 2.6.2 Synced preproc.y and keywords.c with gram.y and keywords.c yet again. Set version to 2.4.3
1998-10-03Update for newest changes.Thomas G. Lockhart
1998-10-02 Please apply the patch at the end. Disables use of systemBruce Momjian
columns of views at all (not only oid, cmin etc. too). pgsql=> select cmin from pg_rules; ERROR: system column cmin not available - pg_rules is a view pgsql=> select * from pg_rules where pg_rules.oid = pg_class.oid; ERROR: system column oid not available - pg_rules is a view pgsql=> Jan
1998-10-02Obsolete information completely superceded by the sgml sources.Thomas G. Lockhart
These weren't really "man page"-ish anyway, and I've verified that all information in them has moved to the newer sources.
1998-10-02Surround all identifiers with double quotes.Thomas G. Lockhart
Formerly did so only for those which clearly required it, but that would still miss things like reserved key words which also require it. Implement the "-n" switch to revert the double quote behavior to put DQs only where there is more than lower-case, digits, and underscores.
1998-10-02 Here's a combination of all the patches I'm currently waitingBruce Momjian
for against a just updated CVS tree. It contains Partial new rewrite system that handles subselects, view aggregate columns, insert into select from view, updates with set col = view-value and select rules restriction to view definition. Updates for rule/view backparsing utility functions to handle subselects correct. New system views pg_tables and pg_indexes (where you can see the complete index definition in the latter one). Enabling array references on query parameters. Bugfix for functional index. Little changes to system views pg_rules and pg_views. The rule system isn't a release-stopper any longer. But another stopper is that I don't know if the latest changes to PL/pgSQL (not already in CVS) made it compile on AIX. Still wait for some response from Dave. Jan
1998-10-02 the following little patch adds array references to queryBruce Momjian
parameters. With it applied a function like CREATE FUNCTION getname(oid8, int4) RETURNS name AS 'SELECT typname FROM pg_type WHERE oid = $1[$2]' LANGUAGE 'sql'; is possible. Mainly I need this to enable array references in expressions for PL/pgSQL. Complete regression test ran O.K. Jan
1998-10-02SummaryBruce Momjian
The ident() function in src/backend/libpq/hba.c doesn't cope when postmaster is contacted on an IP alias. This patch fixes it. Malcolm Beattie
1998-10-02Fixes for Irix from Robert BruccoleriBruce Momjian
1998-10-02Here's the new diff for getting the NS32K assembly code into theBruce Momjian
spin-locks. Notice that it's now inline assembler in s_lock.h, rather than seperate code in s_lock.c. It also shrank a little bit... Just rip out the S_LOCK() define and insert the tas() inline function. Please let me know if there are any problems with it. Jon Buller
1998-10-02regproc cleanupsBruce Momjian
1998-10-02Fix for regproc so proc name can be supplied if unique, if not, oid.Bruce Momjian
1998-10-02Fix potential coredump in pg_conndefaults (assigning constant stringTom Lane
to a field that will get free'd). Also make it robust in cases where values contain Tcl special characters.
1998-10-02Search contrib/tcl for tcl startup.Bruce Momjian
1998-10-02Clean up some minor bugs concerning what was inside the main loopTom Lane
and what wasn't. Also try to improve the comments so that doesn't happen again. Changed SIGPIPE handling to SIG_IGN so that if frontend quits, we will finish out the current command and return to main loop before quitting. This seems much safer than a forced abort mid-command.
1998-10-01Fix for constbyval.Bruce Momjian
1998-10-01Fix for constbyval .Bruce Momjian
1998-10-01failed to add some of Jan's files :(Marc G. Fournier
1998-10-01Get rid of some long-dead code that thinks NOTIFY is passed to theTom Lane
planner/optimizer/executor. It isn't. Besides, most of the removed code consists of comments about how it's not right.
1998-10-01Make HP-PA S_UNLOCK a little faster and less dependent on unspecified ↵Tom Lane
compiler codegen details. Make default S_LOCK macro more robust against syntax mistakes. (I cleared these changes with David Gould a few days ago.)
1998-10-01pg_dump -z was careless about ownership of indexes.Tom Lane
Now it's a little less so.
1998-10-01Simplify pg_result by using new libpq PQresultErrorMessage;Tom Lane
fix some memory leaks in pg_select.
1998-10-01Update libpq to store an error message in PGresult, per pgsq-interfaces ↵Tom Lane
discussion of 21-Sep.
1998-10-01Change HPUX loader flags to trap null pointer derefsTom Lane
1998-09-30Update to track newest gram.y.Thomas G. Lockhart
1998-09-30Add as many keywords as possible to column identifier or label lists.Thomas G. Lockhart
Add "timestamp" to list of tokens in keywords.c. Before, TIMESTAMP WITH TIME ZONE did not actually parser. Reorder token lists to be more alphabetical. Remove ARCHIVE keyword which was deprecated in v6.3.
1998-09-30Message changed slightly since "rename" is now allowed as a column name.Thomas G. Lockhart
1998-09-29From: Jan Wieck <jwieck@debis.com>Marc G. Fournier
here is the patch that includes PL/pgSQL into the build (currently with make errors ignored) and adds a regression test for it. A clean build and regression ran fine here. Can you please apply it? The tar should be extracted in /usr/local/src/pgsql and creates the following files: src/pl/Makefile called by toplevel GNUmakefile and for now only calls src/pl/plpgsql/Makefile src/pl/plpgsql/Makefile calls src/pl/plpgsql/src/Makefile (here the call to make ignores build errors - this must be changed later for the final release). src/test/regress/input/install_plpgsql.source SQL script installing PL/pgSQL language in regression database. Will be modified by .../input/Makefile to point to correct PGLIB directory where plpgsql.so gets installed. src/test/regress/output/install_plpgsql.source expected output for installation script. src/test/regress/sql/plpgsql.sql the main regression test. It tests functions and triggers written in PL/pgSQL including views that use supportfunctions in this language. src/test/regress/expected/plpgsql.out the expected output for the above regression test. make_plpgsql.diff patch that adds some lines to src/GNUmakefile.in src/test/regress/expected/Makefile src/test/regress/input/Makefile src/test/regress/output/Makefile src/test/regress/sql/Makefile src/test/regress/sql/tests
1998-09-27pgsql_perl5-1.8.0Edmund Mergl
1998-09-25multi-byte fix from Tatsuo IshiiBruce Momjian
1998-09-25Add new Makefile from Jan.Bruce Momjian
1998-09-25Bracket filename in LOAD error message with single quotesThomas G. Lockhart
to clarify actual path used.
1998-09-25Update to track gram.y.Thomas G. Lockhart
Had removed PARSEDEBUG statements...
1998-09-25Clean up existing debugging print statements.Thomas G. Lockhart
Modify comment blocks to insulate from pgindent.
1998-09-25Clean up code in analyze.c for SERIAL data type.Thomas G. Lockhart
Remove _all_ PARSEDEBUG print statements.
1998-09-25Fix comment for regproc.Bruce Momjian
1998-09-25MB patches from Tatsuo IshiiBruce Momjian
1998-09-23Fix for datetime from Tatsuo IshiiBruce Momjian
1998-09-23Fix for oidArray from Christopher Oliver.Bruce Momjian
1998-09-23Allow 8-key indexes.Bruce Momjian
1998-09-23Add in, I think, support for %lld in snprintf(), specifically withMarc G. Fournier
Irix in mind...
1998-09-22Fix for SELECT NOT boolfield FROM tableBruce Momjian
1998-09-22Cleanup for oid8[] from Tatsuo Ishii.Bruce Momjian
1998-09-22Here are some patches to fix up the regression tests so that the unionBruce Momjian
test passes. Interestingly, the fix involves no changes or special cases in the union test and actually removes a special case for the numerology test. Thus, following the strategy outlined below is a definite improvement over the previous situation. Cheers, Brook
1998-09-22Add .h to string include.Bruce Momjian
1998-09-21Fix for AND/OR handling.Bruce Momjian
1998-09-21From: Michael Meskes <meskes@usa.net>Marc G. Fournier
+ Mon Aug 31 09:40:04 CEST 1998 + + - Minor patch to Makefile + - Put pgc.l in sync with scan.l + + Tue Sep 1 11:31:05 CEST 1998 + + - Fixed another bug in preproc.y + + Thu Sep 3 12:21:16 CEST 1998 + + - Sync preproc.y with gram.y + + Mon Sep 14 09:21:02 CEST 1998 + + - Sync preproc.y with gram.y yet again + + Thu Sep 17 08:55:33 CEST 1998 + + - Synced preproc.y and gram.y one more time + + Thu Sep 17 19:23:24 CEST 1998 + + - Added missing ´;´ in preproc.y + - Set version to 2.4.2
1998-09-21Fix for \z formatting from Tom Lane.Bruce Momjian
1998-09-21This patch covers several to-do items that I had for libpgtcl:Bruce Momjian
* It works under both Tcl 7.6 and Tcl 8.0 now. (The code claims to work under Tcl 7.5 as well, but I have no way to test that --- if anyone still cares, please check it with 7.5.) * pg_listen suppresses extra LISTEN commands and correctly sends an UNLISTEN when the last listen request for a relation is cancelled. (Note this means it will not work with pre-6.4 backends, but that was true already because it depends on the current libpq, which only speaks protocol 2.0.) * Added -error option to pg_result so that there's some way to find out what you did wrong ;-) * Miscellaneous cleanups of code comments and overenthusiastic #includes. BTW, I bumped the package version number from 1.2 to 1.3. Is this premature? Does someone run around and do that routinely before each pgsql release? regards, tom lane
1998-09-20autoconfBruce Momjian