summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-09-30Come to think of it, functions in FROM have the same syntactic restrictionTom Lane
as CREATE INDEX did, and can be fixed the same way, for another small improvement in usability and reduction in grammar size.
2004-09-29Split out everything that looks like a function call from c_expr intoTom Lane
a separate production func_expr. This allows us to accept all these variants in the backwards-compatible syntax for creating a functional index; which beats documenting exactly which things work and which don't. Interestingly, it also seems to make the generated state machine a little bit smaller.
2004-09-29Minor adjustments to improve the accuracy of our computation of requiredTom Lane
shared memory size.
2004-09-28Adjust obsolete comment about memory needs for lock table.Tom Lane
2004-09-28Arrange to preallocate all required space for the buffer and FSM hashTom Lane
tables in shared memory. This ensures that overflow of the lock table creates no long-lasting problems. Per discussion with Merlin Moncure.
2004-09-28 An include path got missed out of the patch - see the attached fix.Bruce Momjian
This also adds debug build support to src/bin/psql/win32.mak. Dave Page
2004-09-28Revert patch that removed BUFSIZ usage. The memory has to hold theBruce Momjian
structures plus pointers used by the structure.
2004-09-27Small WIN32_CLIENT_ONLY cleanup for new build patch.Bruce Momjian
2004-09-27Remove use of large BUFSIZ for buffers and use the proper struct sizes.Bruce Momjian
This greatly helps threaded libpq programs.
2004-09-27Add new macro as shorthand for MS VC and Borland C++:Bruce Momjian
+ #if defined(_MSC_VER) || defined(__BORLANDC__) + #define WIN32_CLIENT_ONLY + #endif
2004-09-27More MS VC and BCC psql compile cleanups.Bruce Momjian
2004-09-27More Win32 cleanups for Dave Page.Bruce Momjian
2004-09-27Make adjustment for MS VC and BCC compile of psql, from Dave Page.Bruce Momjian
2004-09-27Improve MS VC builds for psql by handlling flex properly and preventBruce Momjian
rename prototype conflict.
2004-09-27Translation updatePeter Eisentraut
2004-09-27Translation updatesPeter Eisentraut
2004-09-27Translation updatePeter Eisentraut
2004-09-27New translationsPeter Eisentraut
2004-09-27Remove inclusion of windows.h now that it is included in c.h, per ideaBruce Momjian
from Peter.
2004-09-27Synced parser.Michael Meskes
Removed Oracle transaction syntax to fix shift/reduce error.
2004-09-27Remove references to the ODBC driver from the main source tree. From KrisNeil Conway
Jurka.
2004-09-27A few minor list-related cleanups:Neil Conway
(1) Replace while loop with the new forboth() construct in parser/analyze.c (2) Replace lcons() with lappend() in SearchCatCacheList(). Since these now have the same performance, there is no reason to prefer lcons() in this case, and using lappend() leads to cleaner code. (3) Improve the name of the second parameter to for_each_cell()
2004-09-27Code cleanup: don't bother casting the argument to pfree() to void *Neil Conway
from another pointer type. Per C89, this is unnecessary, and it is common practice throughout the rest of the tree anyway.
2004-09-27Rewrite ReadArrayStr() to avoid O(N^2) behavior on large strings,Tom Lane
and hopefully improve code clarity while at it. One intentional semantics change: a backslashed space will not be treated as removable trailing whitespace, as the prior coding would do. ISTM that if it wouldn't be considered removable leading whitespace, it shouldn't be stripped at the end either.
2004-09-26Fix multiple breakages in our support for SSL certificates.Tom Lane
2004-09-26Use ULL not LL in UINT64CONST.Tom Lane
2004-09-26Here is a patch that adds the version info from libpq.rc to the DLLBruce Momjian
build in mingw. The MSVC build already did this, but it was not linked into the mingw one. This is not the same as the versioninfo patch that's in the queue. Please apply this one before beta-3 if at all possible. Magnus Hagander
2004-09-26Use <> not "" for include of pthread.h.Bruce Momjian
2004-09-26Repair bug that would allow libpq to think a command had succeeded whenTom Lane
it really hadn't, due to double output of previous command's response. Fix prevents recursive entry to libpq routines. Found by Jan Wieck.
2004-09-24Persuade plpython to build on OS X.Tom Lane
2004-09-24GUC assign hooks that look at external state in deciding whether aTom Lane
setting is valid must ignore that state and permit the assignment anyway when source is PGC_S_OVERRIDE. Otherwise they may disallow a rollback at transaction abort, which is The Wrong Thing. Per example from Michael Fuhr 12-Sep-04.
2004-09-24Cleanup some ancient Ultrix / Alpha code in main() that is intended toNeil Conway
modify how unaligned memory accesses are dealt with. Document that this is really what is going on, and merge the NOFIXADE and NOPRINTADE code paths.
2004-09-24shmdt takes a void* parameter, per Kris Jurka.Tom Lane
2004-09-24Fix gratuitous weirdness in function prototype, per Kris Jurka.Tom Lane
2004-09-24Okay, I'm tired of reading gripes from OS X users ... add a regressionTom Lane
variant file to cover OS X 10.3's bizarre minus-zero behavior.
2004-09-24Get rid of /*-inside-comment warning. My fault.Tom Lane
2004-09-24ExecProcAppend() wasn't called ExecAppend() because the latter name wasNeil Conway
formerly used in execMain. Since that is no longer the case, this patch renames ExecProcAppend() to ExecAppend() for the sake of consistency.
2004-09-24Fix TAS assembly stuff for Solaris/386. (I'm not in a position toTom Lane
actually test this, but it couldn't be broken any worse than it was...)
2004-09-23Fix ALTER TABLE OWNER to adjust the ownership of dependent sequences,Tom Lane
not only indexes. Alvaro Herrera, with some kibitzing by Tom Lane.
2004-09-23If we're going to print unrecognized result codes from SSL_get_errorTom Lane
in open_client_SSL, surely we should do it everywhere. Also make message formatting conform to style guide.
2004-09-23This patch logs the error code in the default case, so that the userBruce Momjian
stands a chance of looking it up. "Unrecognised error" is always disheartening. :-) Dominic Mitchell
2004-09-23This patch attempts to note the use of the root.crt file in the server.Bruce Momjian
Given that PostgreSQL will output a message complaining about it's absence if you're using SSL mode, I feel it's important that it gets a mention in the documentation at some point. Dominic Mitchell
2004-09-23Minor tweak to pg_controldata usage information, per suggestion fromNeil Conway
Dennis Björklund. Also, remove some redundant #include directives.
2004-09-22Arrange for hash join to skip scanning the outer relation if it detectsTom Lane
that the inner one is completely empty. Per recent discussion. Also some cosmetic cleanups in nearby code.
2004-09-22Issue a CHECKPOINT just after creating the regression database. WithoutTom Lane
this, it's hard to debug core-dump test failures, because WAL replay will enthusiastically remove the core file (along with the rest of the regression database directory). Per recent discussion, not to mention bitter experience.
2004-09-22Adjust ExecMakeTableFunctionResult to produce a single all-nulls rowTom Lane
when a function that returns a single tuple (not a setof tuple) returns NULL. This seems to be the most consistent behavior. It would have taken a bit less code to make it return an empty table (zero rows) but ISTM a non-SETOF function ought always return exactly one row. Per bug report from Ivan-Sun1.
2004-09-22Minor cleanup of libpq/LO examples: fix some memory leaks, update a commentNeil Conway
or two.
2004-09-22Some improvements for the tab-completion of psql. This shouldNeil Conway
address all of the items in the todo list and adds some new things as well. Specifically: * Add support for ALTER SEQUENCE ... * Add "RENAME TO" for ALTER TRIGGER xx ON yy * Pick proper table for ALTER TRIGGER xx ON ... * Support for ALTER USER xxx ... * Fix ALTER GROUP xxx DROP ... * Fix ALTER DOMAIN xxx DROP ... * Remove "OWNER TO" from ALTER DOMAIN xx DROP ... * Fix ALTER DOMAIN xx SET DEFAULT .. * Prevent ALTER INDEX xxx SET TABLESPACE from using "TO" * Support for ALTER LANGUAGE xxx (RENAME TO) * More support for ALTER TABLE xxx ALTER COLUMN xxx ... * More support for COPY Greg Sabino Mullane
2004-09-22This patch from Alvaro Herrera adds transaction ID to the list ofNeil Conway
log_line_prefix escapes. The escape sequence used for this is %x. %x previously meant "postmaster et al. stop here" -- this has been renamed to %q.
2004-09-21Rotate on time boundaries that are sensible per local time rather than GMT.Tom Lane
Also, avoid truncating the file we just wrote into, which might otherwise easily happen at DST boundaries. Ed L. and Tom Lane.