aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
|
* Allocate 16mb file for testing.Bruce Momjian2004-03-18
|
* Have program default to 1000 loops, and add file name and loop option.Bruce Momjian2004-03-18
| | | | Make open/close loop testings the same. Add descriptions for certain tests.
* Add comment about using this testing for wal_sync_method.Bruce Momjian2004-03-18
|
* Add fsync tests:Bruce Momjian2004-03-18
| | | | | | | Compare fsync before and after write's close: Compare one o_sync write to two: Compare file sync methods with one 8k write: Compare file sync methods with 2 8k writes:
* Mention which fsync methods are unavailable.Bruce Momjian2004-03-18
|
* Add permission mode to opens().Bruce Momjian2004-03-18
|
* Add missing includeBruce Momjian2004-03-18
|
* Remove acccidental object/binary files.Bruce Momjian2004-03-18
|
* Add fsync test program. It tests fsync to see if times for fsync are theBruce Momjian2004-03-18
| | | | | | same when done on the write() ile descriptor and a new descriptor. it also times various fsync methods.
* During btree index build, sort equal-keyed tuples according to theirTom Lane2004-03-17
| | | | | | | | TID (heap position). This doesn't do anything to the validity of the finished index, but by pretending to qsort() that there are no really equal keys in the sort, we can avoid performance problems with qsort implementations that have trouble with large numbers of equal keys. Patch from Manfred Koizar.
* Reimplement CASE val WHEN compval1 THEN ... WHEN compval2 THEN ... ENDTom Lane2004-03-17
| | | | | | | | so that the 'val' is computed only once, per recent discussion. The speedup is not much when 'val' is just a simple variable, but could be significant for larger expressions. More importantly this avoids issues with multiple evaluations of a volatile 'val', and it allows the CASE expression to be reverse-listed in its original form by ruleutils.c.
* Document SPI_push() and SPI_pop().Bruce Momjian2004-03-17
|
* Replace the switching function ExecEvalExpr() with a macro that jumpsTom Lane2004-03-17
| | | | | | | | | | | directly to the appropriate per-node execution function, using a function pointer stored by ExecInitExpr. This speeds things up by eliminating one level of function call. The function-pointer technique also enables further small improvements such as only making one-time tests once (and then changing the function pointer). Overall this seems to gain about 10% on evaluation of simple expressions, which isn't earthshaking but seems a worthwhile gain for a relatively small hack. Per recent discussion on pghackers.
* Remove double-rename used by Win32 on busy files. Not needed anymore.Bruce Momjian2004-03-16
|
* The "cvs add" of test_thread_implicit.pgc seems to have been missed,Bruce Momjian2004-03-15
| | | | | | | | | | i've attached this again. Additionally I include a small patch to remove mutex locking when a DEFAULT/NULL connection is being retrieved. This is consistent with libpq. Lee Kindness
* Check for EOF on pipe differs under win32, as it is based on a socketBruce Momjian2004-03-15
| | | | | | implementation. Claudio Natoli
* float8-small-is-zero and float8-exp-three-digits will likely needBruce Momjian2004-03-15
| | | | | | similar changes. Claudio Natoli
* * postmaster.c: cleanup pmdaemonize under win32; missed failure messageBruce Momjian2004-03-15
| | | | | | | | | in CreateOptsFile * s_lock.c: minor comment fix * findbe.c: variables not used under win32 moved within #ifndef WIN32 case Claudio Natoli
* Windows uses codepages rather than the environment, so we work aroundBruce Momjian2004-03-15
| | | | | | | | that by querying the environment explicitly first for LC_COLLATE and LC_CTYPE. We have to do this because initdb passes those values in the environment. If there is nothing there we fall back on the codepage. Andrew Dunstan
* Remove GUC log_statement, log_pid, log_timestamp, log_source_port.Bruce Momjian2004-03-15
| | | | | | Functionality superceeded by log_line_prefix. Andrew Dunstan
* Improve random regression tests to fail less frequently.Bruce Momjian2004-03-15
|
* Add PQmbdsplen() which returns the "display length" of a character.Tatsuo Ishii2004-03-15
| | | | | Still some works needed: - UTF-8, MULE_INTERNAL always returns 1
* Localize our dependencies on the way to create NAN or INFINITY.Tom Lane2004-03-15
| | | | Per recent proposal to pghackers.
* Remove grotty special-case code in coerce_to_target_type() thatTom Lane2004-03-15
| | | | | | | implemented casts to varchar and bpchar using a cast-to-text function. This is a holdover from before we had pg_cast; it now makes more sense to just list these casts in pg_cast. While at it, add pg_cast entries for the other direction (casts from varchar/bpchar) where feasible.
* Update Solaris thread flags, per Jim SeymourBruce Momjian2004-03-14
|
* Tweak planner so that index expressions and predicates are matched toTom Lane2004-03-14
| | | | | queries without regard to whether coercions are stated explicitly or implicitly. Per suggestion from Stephan Szabo.
* Fix error in termination of COPY IN mode when using V2 protocol.Tom Lane2004-03-14
| | | | Report and fix per ljb, 8-Mar-04.