aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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.
* Add:Bruce Momjian2004-03-16
| | | | | > * Allow pg_dumpall to use non-text output formats >
* Remove double-rename used by Win32 on busy files. Not needed anymore.Bruce Momjian2004-03-16
|
* log_statement was not removed by the previous patch. It only updatedBruce Momjian2004-03-15
| | | | its description.
* 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
* Handle OID's and unsigned values better in pg_autovacuum.Bruce Momjian2004-03-15
| | | | Matthew T. O'Connor
* 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
* Update random regression test text to be clearer.Bruce Momjian2004-03-15
|
* Update random test description because it fails less frequently now.Bruce Momjian2004-03-15
|
* 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
|
* Fix typo.Bruce Momjian2004-03-15
|
* Mention Linux syslog will sync lines to disk, and describe how toBruce Momjian2004-03-15
| | | | disable it.
* 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.
* Mark linux as thread-enabled with new 7.5 tests.Bruce Momjian2004-03-14
|
* Fix ecpg_sqlca_key_destructor to return void.Bruce Momjian2004-03-14
|
* > (I also see some post-7.4.1 changes in src/template/solaris, so youBruce Momjian2004-03-14
| | | | | | | | | | | | | | | | | | | | | > possibly should look there too.) [snip] > I think I have the fix for part of it, but this remains... gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fPIC -I. -I../../../src/include -D_POSIX_PTHREAD_SEMANTICS -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -c -o thread.o thread.c thread.c: In function `pqGethostbyname': thread.c:189: error: `resbuf' undeclared (first use in this function) Looking at src/port/thread.c, line 189, it looks like somebody typo'd. Looks like that second parameter should be "resultbuf", not "resbuf"? Jim Seymour
* - Fixed Informix compat math functions to cope with the situationsMichael Meskes2004-03-14
| | | | | where one argument takes the result. - Applied thread patches by Lee Kindness
* Portability fixes and bug fixes for recent floating point input changes.Neil Conway2004-03-14
| | | | | | | | In particular, don't depend on strtod() to accept 'NaN' and 'Infinity' inputs (while this is required by C99, not all platforms are compliant with that yet). Also, don't require glibc's behavior from isinf(): it seems that on a lot of platforms isinf() does not itself distinguish between negative and positive infinity.
* Teach psql to show the location of syntax errors visually, per recentTom Lane2004-03-14
| | | | | | discussions. Patch by Fabien Coelho and Tom Lane. Still needs to be taught about multi-screen-column kanji characters; Tatsuo has promised to provide the needed infrastructure for that.
* Rename README's to match directory names. Mention copyright matchesBruce Momjian2004-03-14
| | | | PostgreSQL's.
* Arrange to emit a CONTEXT: SQL function "foo" entry in an errorTom Lane2004-03-14
| | | | | | message that is reporting a prechecking error in a SQL function. This is to cue client-side code that the syntax error position, if any, is with respect to the function body and not the outer command.
* Done:Bruce Momjian2004-03-13
| | | | > * -Issue NOTICE if foreign key data requires costly test to match primary key
* Generate a WARNING when the column types in a foreign key constraint areTom Lane2004-03-13
| | | | | | | incompatible enough to prevent indexscanning the referenced table. Also, improve the error message that pops out when we can't implement the FK at all for lack of a usable equality operator. Fabien Coelho, with some review by Tom Lane.
* Repair memory leakage introduced into the non-hashed aggregate case byTom Lane2004-03-13
| | | | | | | 7.4 rewrite for hashed aggregate support. If the transition data type is pass-by-reference, the transValue must be pfreed when starting a new group boundary, else we have a one-value-per-group leakage. Thanks to Rae Steining for providing a reproducible test case.
* Translation updatesDennis Bjorklund2004-03-12
|
* Fixes recent changes to test. For immediate application.Bruce Momjian2004-03-12
| | | | | | | | | [ Note: int8-exp-three-digits.out needs the same treatment] Will review recent changes for float4/8 and implications for win32 when I get a chance. Claudio Natoli
* Update FAQ with current release version.Bruce Momjian2004-03-12
|
* Update Russian FAQ, Viktor VislobokovBruce Momjian2004-03-12
|
* Translation updatesDennis Bjorklund2004-03-12
|
* Translation updatesDennis Bjorklund2004-03-12
|
* Rename incorrect references to nonblock.c to noblock.c. Claudio.Bruce Momjian2004-03-12
|
* Fix a typo in the documentation for geqo_effort.Neil Conway2004-03-12
|
* Improve documentation for the newly-added NOWAIT clause of LOCK TABLE.Neil Conway2004-03-12
|
* Allow 'Infinity' and '-Infinity' as input to the float4 and float8Neil Conway2004-03-12
| | | | | | | | | types. Update the regression tests and the documentation to reflect this. Remove the UNSAFE_FLOATS #ifdef. This is only half the story: we still unconditionally reject floating point operations that result in +/- infinity. See recent thread on -hackers for more information.
* Translation updatesDennis Bjorklund2004-03-11
|
* Document the SSL and Kerberos are not thread-safe.Bruce Momjian2004-03-11
|
* Revise int2/int4/int8/float4/float8 input routines to allow forNeil Conway2004-03-11
| | | | | | | | | | any amount of leading or trailing whitespace (where "whitespace" is defined by isspace()). This is for SQL conformance, as well as consistency with other numeric types (e.g. oid, numeric). Also refactor pg_atoi() to avoid looking at errno where not necessary, and add a bunch of regression tests for the input to these types.
* Add NOWAIT option to LOCK commandTatsuo Ishii2004-03-11
|
* Move non-blocking code into its own /port file, for code clarity.Bruce Momjian2004-03-10
|
* Fix a typo.Neil Conway2004-03-10
|