aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Revert doc change so we mention moving past the last row of a cursor.Bruce Momjian2003-02-04
|
* Applied Kris Jurkas patch to fix rollback and SQLExceptionDave Cramer2003-02-04
|
* applied patch from Oliver JowettDave Cramer2003-02-04
|
* Two patches from Kris Jurka. One fixes a problem with incorrect type for doubleBarry Lind2003-02-04
| | | | | and the other fixes a NPE in Statement.toString() under some circumstances. The second patch was originally submitted by Oliver Jowett and updated by Kris
* Patch from Nic Ferrier to add support for result sets being cursor basedBarry Lind2003-02-04
| | | | | so that rows can be fetched incrementally. This is enabled by using setFetchSize()
* Minor code cleanup: remove no-longer-useful pull_subplans() function,Tom Lane2003-02-04
| | | | | and convert pull_agg_clause() into count_agg_clause(), which is a more efficient way of doing what it's really being used for.
* Detect duplicate aggregate calls and evaluate only one copy. ThisTom Lane2003-02-04
| | | | | speeds up some useful real-world cases like SELECT x, COUNT(*) FROM t GROUP BY x HAVING COUNT(*) > 100.
* #ifdef out stuff that shouldn't be compiled when not USE_SSL.Tom Lane2003-02-03
| | | | Curious that gcc doesn't complain about unreferenced static variables.
* Determine the set of constraints applied to a domain at executorTom Lane2003-02-03
| | | | | | startup, not in the parser; this allows ALTER DOMAIN to work correctly with domain constraint operations stored in rules. Rod Taylor; code review by Tom Lane.
* Add mention of CURRENT_SCHEMA for object creation.Bruce Momjian2003-02-03
|
* Don't print NO ACTION foreign key actions in dumps and psql \d.Bruce Momjian2003-02-03
|
* Tweak planner and executor to avoid doing ExecProject() in table scanTom Lane2003-02-03
| | | | | | | | nodes where it's not really necessary. In many cases where the scan node is not the topmost plan node (eg, joins, aggregation), it's possible to just return the table tuple directly instead of generating an intermediate projection tuple. In preliminary testing, this reduced the CPU time needed for 'SELECT COUNT(*) FROM foo' by about 10%.
* Move pg_service.conf.sample to /interfaces/libpq.Bruce Momjian2003-02-03
|
* Change MOVE LAST to MOVE ALL.Bruce Momjian2003-02-03
| | | | Standard says FETCH LAST is after last row, and we don't do that.
* Implement EXPLAIN EXECUTE. By Neil Conway, with some kibitzing fromTom Lane2003-02-02
| | | | Tom Lane.
* Update release history for 7.3.2.Tom Lane2003-02-02
|
* Fix nodeUnique to behave correctly when reversing direction after reachingTom Lane2003-02-02
| | | | | either end of subplan results. This prevents misbehavior of cursors on SELECT DISTINCT ... queries. Per bug report 1-Feb-02.
* Remove restriction that cast functions cannot be volatile. ThisTom Lane2003-02-01
| | | | | | restriction was debatable to begin with, but it has now become obvious that it breaks forward-porting of user-defined types; contrib/lo being the most salient example.
* Cleaner solution to the problem of loading pre-7.3 dumps containingTom Lane2003-02-01
| | | | | | columns of type lo (see contrib/lo). Rather than hacking the function definitions on-the-fly, just modify the queries issued by FixupBlobRefs so that they work even if CREATE CAST hasn't been issued.
* Changes of 6-Sep-02 broke pg_restore's ability to recognize tar-formatTom Lane2003-02-01
| | | | files. Fix it.
* Fix assign_session_authorization() to not be confused by all-numericTom Lane2003-02-01
| | | | user names. Per recent reports.
* Prevent core dump from calling Tcl_DontCallWhenDeleted() with a nullTom Lane2003-02-01
| | | | interp pointer. Per report from Gerhard Hintermayer.
* Apply ljb's patch to prevent both memory leak and core dump duringTom Lane2003-02-01
| | | | | | connection shutdown. This is a grotty workaround for a Tcl bug, but said bug has been there long enough that I'm not holding my breath for a real fix. Per discussions and testing from ljb and g.hintermayer.
* Make plpython's spi_execute interface handle NULLs properly.Tom Lane2003-01-31
| | | | From Andrew Bosma.
* Clean up plpython error reporting so that its regression test passesTom Lane2003-01-31
| | | | | with some amount of cleanliness. I see no need to report the internal Python name rather than the SQL procedure name in error tracebacks.
* Tweak bison build rules so that we get the same error messages fromTom Lane2003-01-31
| | | | | | | | bison 1.875 and later as we did from earlier bison releases. Eventually we will probably want to adopt the newer message spelling ... but not yet. Per recent discussion on pgpatches. Note: I didn't change the build rules for bootstrap, ecpg, or plpgsql grammars, since these do not affect regression test results.
* Allow a time zone to be specified (and silently ignored) in the inputTom Lane2003-01-31
| | | | | | | for type 'time without time zone', as we already did for type 'timestamp without time zone'. This patch was proposed by Tom Lockhart on 7-Nov-02, but he never got around to applying it. Adjust regression tests and documentation to match.
* Handle mixed-case names properly in plpgsql_parse_tripwordtype.Tom Lane2003-01-31
| | | | From Neil Conway.
* Fix typo, per Neil Conway.Tom Lane2003-01-31
|
* Fix regression in .pgpass support. From Neil Conway.Tom Lane2003-01-30
|
* Update release history for 7.2.4.Tom Lane2003-01-29
|
* SPI_exec shouldn't return SPI_OK_SELECT if it hasn't actually returnedTom Lane2003-01-29
| | | | | a tuple table. Fixes core dump in pltcl (and probably other PLs) when executing a query rewritten by a rule. Per bug report from Wolfgang Walter.
* Update release steps.Bruce Momjian2003-01-29
|
* Tweak ArrayCount() to forestall possible access to temp[-1]. ProblemTom Lane2003-01-29
| | | | | | cannot actually happen at present because ArrayCount() is only called on strings beginning with '{', but seems best to prevent it going forward. Per report from Yichen Xie.
* Guard against array overrun, per report from Yichen Xie. This caseTom Lane2003-01-29
| | | | | can only occur if the constant DEFAULT_CLIENT_AUTHSVC is given a bogus value, so it doesn't seem worth back-patching, but I'll fix it in HEAD.
* Repair array subscript overrun identified by Yichen Xie. Reduce theTom Lane2003-01-29
| | | | | | | value of MAX_TIME_PRECISION in floating-point-timestamp-storage case from 13 to 10, which is as much as time_out is actually willing to print. (The alternative of increasing the number of digits we are willing to print looks risky; we might find ourselves printing roundoff garbage.)
* Fix array subscript overruns identified by Yichen Xie.Tom Lane2003-01-29
|
* Extend join-selectivity API (oprjoin interface) so that join type isTom Lane2003-01-28
| | | | | | | passed to join selectivity estimators. Make use of this in eqjoinsel to derive non-bogus selectivity for IN clauses. Further tweaking of cost estimation for IN. initdb forced because of pg_proc.h changes.
* Factor out the code that detects the long long int snprintf format into aPeter Eisentraut2003-01-28
| | | | | | | | | separate macro. Also add support for %I64d which is the way on Windows. The code that checks for the 64-bit int type now gives more reasonable results when cross-compiling: In that case we just take the compiler's information and trust that the arithmetic works. Disabling int64 is too pessimistic.
* Convert variable name to canonical spelling before checking for matchesTom Lane2003-01-28
| | | | | in GUCArrayAdd/GUCArrayDelete. This prevents the multiple-entry bug exhibited by Frank Lupo 28-Jan-2003.
* Revert off setting mention for client_min_messages.Bruce Momjian2003-01-28
| | | | | Set log_min_error_messages to the proper and agreed-upon default, PANIC (off). (BACKPATCH)
* Revert optimizer page count change.Bruce Momjian2003-01-28
|
* Set log_min_error_messages to the proper and agreed-upon default, PANIC (off).Bruce Momjian2003-01-27
| | | | Backpatch to 7.3.X.
* Add blank line.Bruce Momjian2003-01-27
|
* Move:Bruce Momjian2003-01-27
| | | | | | > * Add the concept of dataspaces/tablespaces [tablespaces] 307d307 < * Add the concept of dataspaces/tablespaces [tablespaces]
* Fix typo 233 pages -> 333 pages.Bruce Momjian2003-01-27
|
* Upgrade cost estimation for joins, per discussion with Bradley Baetz.Tom Lane2003-01-27
| | | | | | | Try to model the effect of rescanning input tuples in mergejoins; account for JOIN_IN short-circuiting where appropriate. Also, recognize that mergejoin and hashjoin clauses may now be more than single operator calls, so we have to charge appropriate execution costs.
* Remove mention of 6.5 max backends.Bruce Momjian2003-01-27
|
* Get rid of last few unadorned 'permission denied' messages.Tom Lane2003-01-27
|
* Prevent core dump when die_horribly() is called with null AH pointer.Tom Lane2003-01-27
| | | | Problem reported and fixed by Oliver Elphick.