aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Small WIN32_CLIENT_ONLY cleanup for new build patch.Bruce Momjian2004-09-27
|
* Remove use of large BUFSIZ for buffers and use the proper struct sizes.Bruce Momjian2004-09-27
| | | | This greatly helps threaded libpq programs.
* Add new macro as shorthand for MS VC and Borland C++:Bruce Momjian2004-09-27
| | | | | | + #if defined(_MSC_VER) || defined(__BORLANDC__) + #define WIN32_CLIENT_ONLY + #endif
* More MS VC and BCC psql compile cleanups.Bruce Momjian2004-09-27
|
* More Win32 cleanups for Dave Page.Bruce Momjian2004-09-27
|
* Make adjustment for MS VC and BCC compile of psql, from Dave Page.Bruce Momjian2004-09-27
|
* Improve MS VC builds for psql by handlling flex properly and preventBruce Momjian2004-09-27
| | | | rename prototype conflict.
* Translation updatePeter Eisentraut2004-09-27
|
* Translation updatesPeter Eisentraut2004-09-27
|
* Translation updatePeter Eisentraut2004-09-27
|
* New translationsPeter Eisentraut2004-09-27
|
* Remove inclusion of windows.h now that it is included in c.h, per ideaBruce Momjian2004-09-27
| | | | from Peter.
* Synced parser.Michael Meskes2004-09-27
| | | | Removed Oracle transaction syntax to fix shift/reduce error.
* Remove references to the ODBC driver from the main source tree. From KrisNeil Conway2004-09-27
| | | | Jurka.
* A few minor list-related cleanups:Neil Conway2004-09-27
| | | | | | | | | | | (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()
* Code cleanup: don't bother casting the argument to pfree() to void *Neil Conway2004-09-27
| | | | | from another pointer type. Per C89, this is unnecessary, and it is common practice throughout the rest of the tree anyway.
* Rewrite ReadArrayStr() to avoid O(N^2) behavior on large strings,Tom Lane2004-09-27
| | | | | | | | 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.
* Fix multiple breakages in our support for SSL certificates.Tom Lane2004-09-26
|
* Use ULL not LL in UINT64CONST.Tom Lane2004-09-26
|
* Here is a patch that adds the version info from libpq.rc to the DLLBruce Momjian2004-09-26
| | | | | | | | | | 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
* Use <> not "" for include of pthread.h.Bruce Momjian2004-09-26
|
* Repair bug that would allow libpq to think a command had succeeded whenTom Lane2004-09-26
| | | | | it really hadn't, due to double output of previous command's response. Fix prevents recursive entry to libpq routines. Found by Jan Wieck.
* Persuade plpython to build on OS X.Tom Lane2004-09-24
|
* GUC assign hooks that look at external state in deciding whether aTom Lane2004-09-24
| | | | | | | 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.
* Cleanup some ancient Ultrix / Alpha code in main() that is intended toNeil Conway2004-09-24
| | | | | | 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.
* shmdt takes a void* parameter, per Kris Jurka.Tom Lane2004-09-24
|
* Fix gratuitous weirdness in function prototype, per Kris Jurka.Tom Lane2004-09-24
|
* Okay, I'm tired of reading gripes from OS X users ... add a regressionTom Lane2004-09-24
| | | | variant file to cover OS X 10.3's bizarre minus-zero behavior.
* Get rid of /*-inside-comment warning. My fault.Tom Lane2004-09-24
|
* ExecProcAppend() wasn't called ExecAppend() because the latter name wasNeil Conway2004-09-24
| | | | | formerly used in execMain. Since that is no longer the case, this patch renames ExecProcAppend() to ExecAppend() for the sake of consistency.
* Fix TAS assembly stuff for Solaris/386. (I'm not in a position toTom Lane2004-09-24
| | | | actually test this, but it couldn't be broken any worse than it was...)
* Fix ALTER TABLE OWNER to adjust the ownership of dependent sequences,Tom Lane2004-09-23
| | | | not only indexes. Alvaro Herrera, with some kibitzing by Tom Lane.
* If we're going to print unrecognized result codes from SSL_get_errorTom Lane2004-09-23
| | | | | in open_client_SSL, surely we should do it everywhere. Also make message formatting conform to style guide.
* This patch logs the error code in the default case, so that the userBruce Momjian2004-09-23
| | | | | | | stands a chance of looking it up. "Unrecognised error" is always disheartening. :-) Dominic Mitchell
* This patch attempts to note the use of the root.crt file in the server.Bruce Momjian2004-09-23
| | | | | | | | 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
* Minor tweak to pg_controldata usage information, per suggestion fromNeil Conway2004-09-23
| | | | Dennis Björklund. Also, remove some redundant #include directives.
* Arrange for hash join to skip scanning the outer relation if it detectsTom Lane2004-09-22
| | | | | that the inner one is completely empty. Per recent discussion. Also some cosmetic cleanups in nearby code.
* Issue a CHECKPOINT just after creating the regression database. WithoutTom Lane2004-09-22
| | | | | | | 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.
* Adjust ExecMakeTableFunctionResult to produce a single all-nulls rowTom Lane2004-09-22
| | | | | | | | 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.
* Minor cleanup of libpq/LO examples: fix some memory leaks, update a commentNeil Conway2004-09-22
| | | | or two.
* Some improvements for the tab-completion of psql. This shouldNeil Conway2004-09-22
| | | | | | | | | | | | | | | | | | | | 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
* This patch from Alvaro Herrera adds transaction ID to the list ofNeil Conway2004-09-22
| | | | | | 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.
* Rotate on time boundaries that are sensible per local time rather than GMT.Tom Lane2004-09-21
| | | | | Also, avoid truncating the file we just wrote into, which might otherwise easily happen at DST boundaries. Ed L. and Tom Lane.
* Change some of the existing plpgsql regression test cases so that theyTom Lane2004-09-20
| | | | | exercise dollar quoting and named function parameters. AFAICS we had no tests of either feature before.
* Fix some shortcomings in psql's autocommit-off mode concerning detectionTom Lane2004-09-20
| | | | | | | of commands for which a transaction block should not be forced. Recognize VACUUM and other PreventTransactionChain commands; handle nested /* .. */ comments correctly; handle multibyte encodings correctly. Michael Paesold with some kibitzing from Tom Lane.
* Documentation improvements, per Josh Berkus.Tom Lane2004-09-20
|
* Translation updatePeter Eisentraut2004-09-20
|
* Translation updatesPeter Eisentraut2004-09-20
|
* Translation updatesPeter Eisentraut2004-09-20
|
* Translation updatesPeter Eisentraut2004-09-20
|