aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Cleanup vectors of GISTENTRY and eliminate problem with 64-bit strict-alignedTeodor Sigaev2004-03-30
| | | | | | boxes. Change interface to user-defined GiST support methods union and picksplit. Now instead of bytea struct it used special GistEntryVector structure.
* Use fuzzy comparison of path costs in add_path(), so that paths with theTom Lane2004-03-29
| | | | | | same path keys and nearly equivalent costs will be considered redundant. The exact nature of the fuzziness may get adjusted later based on current discussions, but no one has shot a hole in the basic idea yet ...
* Fixed possible segfault in type.c (by Juergen Cappel)Michael Meskes2004-03-29
|
* Clean up thread test program.Bruce Momjian2004-03-28
|
* Add test for thread-safe errno to thread test program.Bruce Momjian2004-03-27
|
* Add comment about psql \s (history display):Bruce Momjian2004-03-27
| | | | /* This scrolls off the screen when using /dev/tty */
* Clean up function call arg appearance.Bruce Momjian2004-03-27
|
* Change small 'if/else' test to use Max().Bruce Momjian2004-03-27
|
* Fix brain-dead placement of global variable declaration.Tom Lane2004-03-27
|
* Now that we are allowing index opclasses to contain operators that areTom Lane2004-03-27
| | | | | | only stable and not immutable, pred_test_simple_clause has to guard against making invalid deductions. Add a test for immutability of the selected test_op.
* Add -D_REENTRANT for Solaris threading.Bruce Momjian2004-03-26
|
* Update gcc solaris flags.Bruce Momjian2004-03-25
|
* Fix for SSL compile.Bruce Momjian2004-03-25
|
* Add a more useful error message for the case where someone tries to passTom Lane2004-03-24
| | | | | | a whole row or record variable into a SQL function. Eventually this case should be made to actually work, but for now this is better than what it did before.
* Replace max_expr_depth parameter with a max_stack_depth parameter thatTom Lane2004-03-24
| | | | | | is measured in kilobytes and checked against actual physical execution stack depth, as per my proposal of 30-Dec. This gives us a fairly bulletproof defense against crashing due to runaway recursive functions.
* Adjust error message wording per Andrew Dunstan's advice.Tom Lane2004-03-24
|
* Update description error text:Bruce Momjian2004-03-24
| | | | (errmsg("no socket configured for listening")));
* Here's a patch implementing the "thread method" to workaround the bugBruce Momjian2004-03-24
| | | | | | | with socket calls in signal handlers (APC) on Win32. See details in mail to pgsql-hackers-win32 a couple of minutes ago. Magnus Hagander
* Allow unlink/rename of files open by another process on Win32, using aBruce Momjian2004-03-24
| | | | | | special Win32 open flag FILE_SHARE_DELETE. Claudio Natoli
* Add thread locking to SSL and Kerberos connections.Bruce Momjian2004-03-24
| | | | | | | I have removed the docs mentioning that SSL and Kerberos are not thread-safe. Manfred Spraul
* Fix some whitespace formatting, and remove an overly-verboseNeil Conway2004-03-24
| | | | | parameter description: postgresql.conf is not the place for documentating the functionality of a GUC var.
* >>Also, what is the default connection mode of psql? It should probably beBruce Momjian2004-03-24
| | | | | | | | | | | | >>equivalent to "-h localhost", shouldn't it? >> >> > >Now that is something I had not thought of. Seems we can assume a Win32 >psql can never use unix domain sockets, so defaulting that to localhost >is a good solution too. Andrew Dunstan
* Use the new GUC variable default_with_oids in pg_dump, rather than usingBruce Momjian2004-03-24
| | | | | | | | | WITH/WITHOUT OIDS in dump files. This makes dump files more portable. I have updated the pg_dump version so old binary dumps will load fine. Pre-7.5 dumps use WITHOUT OIDS in SQL were needed, so they should be fine.
* Update the float8 regression tests: they should now pass on FreeBSD 4.xNeil Conway2004-03-24
| | | | and (in theory) QNX. Thanks to Chris KL for the report.
* Use dollar-quoting for function bodies, unless disabled withTom Lane2004-03-23
| | | | | | --disable-dollar-quoting. Andrew Dunstan
* When changing select() calls for delays into pg_usleep(), two commentsBruce Momjian2004-03-23
| | | | | | | | in s_lock.c were not updated, and still refers to select. Made my grep hit the wrong files, so I figured a simple patch was in order.. (other refs in the same comment block was changed..) Magnus Hagander
* Upgrade ALTER TABLE DROP COLUMN so that it can drop an OID column, andTom Lane2004-03-23
| | | | | | | | | remove separate implementation of ALTER TABLE SET WITHOUT OIDS in favor of doing a regular DROP. Also, cause CREATE TABLE to account completely correctly for the inheritance status of the OID column. This fixes problems with dropping OID columns that have dependencies, as noted by Christopher Kings-Lynne, as well as making sure that you can't drop an OID column that was inherited from a parent.
* fflush() FILE buffer to descriptor so stat call gets proper size in fseeko.c.Bruce Momjian2004-03-23
| | | | | Fixed problem with pg_dump tar backups. Only happens on platforms that use our port/fseeko.c, which is currently BSD/OS and NetBSD.
* Fix getpwuid_r call:Bruce Momjian2004-03-23
| | | | *result = getpwuid_r(uid, resultbuf, buffer, buflen);
* Replace the virtual_host and tcpip_socket parameters with a unifiedTom Lane2004-03-23
| | | | | | | | listen_addresses parameter, as per recent discussion. The default behavior is now to listen on localhost, which eliminates the need for the -i postmaster switch in many scenarios. Andrew Dunstan
* Before deciding we can use a socket for statistics collection, test toTom Lane2004-03-22
| | | | | | | ensure that it actually passes data. This catches cases such as a kernel packet filter rule that makes the socket useless. Andrew Dunstan
* Add missing extern for optind.Tom Lane2004-03-22
|
* Standardize output buffer size and display format for strftime;Tom Lane2004-03-22
| | | | followup to complaint from Korean User's Group.
* Disasble threads on unixware until other platforms report a problem.Bruce Momjian2004-03-22
|
* Increase xlog str_time() static string variable, per Korean User's Group.Bruce Momjian2004-03-22
|
* I just noticed that \dp outputs "Table" to indicate relations (tables,Bruce Momjian2004-03-22
| | | | | | | sequences and views). This patch allows it to handle views and sequences. Euler Taveira de Oliveira
* Adds DLLIMPORT modifier to check_function_bodiesBruce Momjian2004-03-22
| | | | Claudio Natoli
* Add mention of "-D_POSIX_PTHREAD_SEMANTICS" enabling 5-arg getpwuid_r().Bruce Momjian2004-03-22
|
* Add timestamp-versus-timestamptz cross-type comparison functions,Tom Lane2004-03-22
| | | | | flesh out the index operator classes to include these. In passing, fix erroneous volatility marking of ACL functions.
* Revise syntax-error reporting behavior to give pleasant results forTom Lane2004-03-21
| | | | | errors in internally-generated queries, such as those submitted by plpgsql functions. Per recent discussions with Fabien Coelho.
* Translation updatesDennis Bjorklund2004-03-21
|
* Translation updatesDennis Bjorklund2004-03-21
|
* Rewrite pg_dump's comment-dumping code to pull over all the commentsTom Lane2004-03-20
| | | | | | | | in one query, rather than making a separate query for each object that could have a comment. This costs relatively little space (a few tens of K typically) and saves substantial time in databases with many objects. I find it reduces the runtime of 'pg_dump -s regression' by about a third.
* Remove suggestiong for using test for wal_sync_method.Bruce Momjian2004-03-20
|
* Handle draft version of getpwuid_r() that accepts only four arguments.Bruce Momjian2004-03-20
| | | | Backpatch to 7.4.X. Required for Solaris 7 & 8.
* Create a validator for plpgsql, so that some minimal syntax checkingTom Lane2004-03-19
| | | | | | | | is done at creation time for plpgsql functions. Improve createlang and droplang to support adding/dropping validators for PLs. Initial steps towards producing a syntax error position from plpgsql syntax errors (this part is a work in progress, and will change depending on outcome of current discussions).
* Code review for log_line_prefix patch. Cooperate with StringInfo insteadTom Lane2004-03-19
| | | | | | of fighting it, avoid hard-wired (and wrong) assumption about max length of prefix, cause %l to actually work as documented, don't compute data we may not need.
* Make test_fsync use optimizer flag.Bruce Momjian2004-03-18
|
* Fix log_executor_stats if() test.Bruce Momjian2004-03-18
|
* Add Unixware thread support from Larry Rosenman.Bruce Momjian2004-03-18
|