aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Fix #error message to mention renamed option --disable-spinlocks.Bruce Momjian2003-09-29
|
* Update docs that point to thread test program.Bruce Momjian2003-09-29
|
* Fix broken definition of :print: character class, per Bruno Wolff.Tom Lane2003-09-29
| | | | | Also, make :alnum: character class directly dependent on isalnum() rather than guessing.
* Translation updatePeter Eisentraut2003-09-29
|
* More message editing, some suggested by Alvaro HerreraPeter Eisentraut2003-09-29
|
* Restructure plpgsql's caching of 'simple' expression evaluation treesTom Lane2003-09-28
| | | | | | | | | | | | | to be less dangerous, and often faster as well. ExprState trees are not kept across transaction boundaries; this eliminates problems with resource leakage in failed transactions. But by keeping them in a per-transaction EState, we can safely arrange for a single ExprState to be shared by all the expression evaluations done in a given plpgsql function call. (Formerly it seemed necessary to create and destroy an ExprState for each exec_eval_simple_expr() call.) This saves time in any scenario where a plpgsql function executes more than one expression. Seems to be about as fast as 7.3 for simple cases, and significantly faster for functions that do a lot of calculations.
* Add a mechanism to let dynamically loaded modules register post-commit/Tom Lane2003-09-28
| | | | | | post-abort cleanup hooks. I'm surprised that we have not needed this already, but I need it now to fix a plpgsql problem, and the usefulness for other dynamically loaded modules seems obvious.
* Now that we have UPDATE tab SET col = DEFAULT, get rid of horrid hackTom Lane2003-09-28
| | | | | | in the RI triggers for ON DELETE/UPDATE SET DEFAULT. The code depended way too much on knowledge of plan structure, and yet still would fail if the generated query got rewritten by rules.
* Adjust pgindent for newer awks.Bruce Momjian2003-09-28
| | | | Nigel J. Andrews
* Allow pgindent to work with newer BSD indents.Bruce Momjian2003-09-28
|
* Mark Linux for threads.Bruce Momjian2003-09-27
|
* Remove erroneous restriction that -t cannot be used to select aTom Lane2003-09-27
| | | | sequence for dumping.
* Update bsd indent patch.Bruce Momjian2003-09-27
|
* Cleanup pgindent patch.Bruce Momjian2003-09-27
|
* Got the link order wrong :-(Tom Lane2003-09-27
|
* Adjust Darwin build to use the default 'two level namespace' linkingTom Lane2003-09-27
| | | | | | | | method. Fix a number of places where shared libraries were linked without mentioning all the libraries they depend on; the Darwin and AIX ports are known to require this, and it doesn't seem to hurt any other supported platforms. (Hence, remove code in pl/tcl makefile that tried to avoid mentioning other libs if not needed.)
* Fix typo in message.Tom Lane2003-09-27
|
* Add compile step to instructions.Bruce Momjian2003-09-27
|
* Make dump files created by initdb have consistent EOL termination, toBruce Momjian2003-09-27
| | | | pass COPY's EOL tests.
* Finalize configuration of thread_test program.Bruce Momjian2003-09-27
|
* Changed the logic when a CAST is dumped according to discussionJan Wieck2003-09-27
| | | | | | | | | | | on pgsql-hackers. A cast is included in the dump output if any of the objects does not belong to a system namespace and all of the non-system namespace objects belong to dumped namespaces. System namespace is defined as nspname begins with "pg_". Jan
* Rename thread compile flag. Move thread test program to tools/thread,Bruce Momjian2003-09-27
| | | | and improve tests.
* You can't NLS-enable a program component by just putting gettext() aroundPeter Eisentraut2003-09-27
| | | | | | | every string, especially if some of the output should be fixed-format machine-readable. This needs to be more carefully sorted out. Also, make the help message generated by --help-config -h be more similar in style to the others.
* The formatting of the display of the locale names assumed that locale namesPeter Eisentraut2003-09-27
| | | | | | are not longer than 8 characters. But sometimes they are, and that made the display quite ugly. So just format them vertically so that everyone can read them.
* Move -D_GNU_SOURCE hack from port header to template, so thatTom Lane2003-09-26
| | | | | configure's tests see the same compilation environment as the code. Per discussion with Stephan Szabo.
* Various message fixes, among those fixes for the previous round of fixesPeter Eisentraut2003-09-26
|
* Translation updatePeter Eisentraut2003-09-26
|
* Fixed segfault after error in parsing precision argument.Michael Meskes2003-09-26
|
* Fix tid scan evaluation of non-constant TID values; can't try to do itTom Lane2003-09-26
| | | | during ExecInitTidScan, because the rest of the executor isn't ready.
* Make the world safe (more or less) for dropped columns in plpgsql rowtypes.Tom Lane2003-09-25
|
* tlist_matches_tupdesc() needs to defend itself against dropped columns.Tom Lane2003-09-25
|
* Get rid of ReferentialIntegritySnapshotOverride by extending Executor APITom Lane2003-09-25
| | | | | | to allow es_snapshot to be set to SnapshotNow rather than a query snapshot. This solves a bug reported by Wade Klaver, wherein triggers fired as a result of RI cascade updates could misbehave.
* Fix regression error messages for platforms Peter doesn't use.Tom Lane2003-09-25
|
* Fix grammatical error introduced into error message.Tom Lane2003-09-25
|
* Forget to update the real source of the regression test results afterPeter Eisentraut2003-09-25
| | | | message editing.
* Message editing: remove gratuitous variations in message wording, standardizePeter Eisentraut2003-09-25
| | | | | terms, add some clarifications, fix some untranslatable attempts at dynamic message building.
* Fix creation of temporary sequences in ecpg, per report from Edmund Bacon.Bruce Momjian2003-09-24
|
* Repair some REINDEX problems per recent discussions. The relcache isTom Lane2003-09-24
| | | | | | | | | | | | | now able to cope with assigning new relfilenode values to nailed-in-cache indexes, so they can be reindexed using the fully crash-safe method. This leaves only shared system indexes as special cases. Remove the 'index deactivation' code, since it provides no useful protection in the shared- index case. Require reindexing of shared indexes to be done in standalone mode, but remove other restrictions on REINDEX. -P (IgnoreSystemIndexes) now prevents using indexes for lookups, but does not disable index updates. It is therefore safe to allow from PGOPTIONS. Upshot: reindexing system catalogs can be done without a standalone backend for all cases except shared catalogs.
* Issue CREATE SCHEMA as the originally connecting user, with anTom Lane2003-09-23
| | | | | | | | AUTHORIZATION clause to specify the desired owner. This allows a superuser to restore schemas owned by users without CREATE-SCHEMA permissions (ie, schemas originally created by a superuser using AUTHORIZATION). --no-owner can be specified to suppress the AUTHORIZATION clause if need be.
* pg_dump/pg_restore now always use SET SESSION AUTHORIZATION, not \connect,Tom Lane2003-09-23
| | | | | | | to control object ownership. The use-set-session-authorization and no-reconnect switches are obsolete (still accepted on the command line, but they don't do anything). This is a precursor to fixing handling of CREATE SCHEMA, which will be a separate commit.
* Tweak generic_type_consistency routines to avoid loss of functionalityTom Lane2003-09-23
| | | | | | | | since 7.3: 'select array_dims(histogram_bounds) from pg_stats' used to work and still should. Problem was that code wouldn't take input of declared type anyarray as matching an anyarray argument. Allow this case as long as we don't need to determine an element type (which in practice means as long as anyelement isn't used in the function signature).
* _SPI_cursor_operation forgot to check for failure return fromTom Lane2003-09-23
| | | | _SPI_begin_call. Per gripe from Tomasz Myrta.
* - Changed struct definition handling so "struct foo {}" always gets defined.Michael Meskes2003-09-23
|
* Fix to properly handle timezone offsets that are partial hours. If the offsetBarry Lind2003-09-23
| | | | | | | | was a partial hour and less than gmt (i.e. -02:30) the code would corrupt the minutes part. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
* A fix for jdbc regression test submitted yesterday by Kim Ho at RedhatBarry Lind2003-09-23
| | | | | Modified Files: ResultSetTest.java
* Putting back the previous change must be the first thing.Hiroshi Inoue2003-09-23
| | | | | ALso put back a #ifndef ENABLE_REINDEX_NAILED_RELATIONS which was removed about a year ago.
* - Fixed order mismatch in processing "using" arguments.Michael Meskes2003-09-22
| | | | | - Fixed some minor things in test cases. - Use defines for Informix error codes.
* Additional jdbc regression tests submitted by Oliver Jowett. Some tests areBarry Lind2003-09-22
| | | | | | | | | | currently commented out, pending fixes for the bugs these tests uncovered. Modified Files: jdbc/org/postgresql/test/jdbc2/Jdbc2TestSuite.java jdbc/org/postgresql/test/jdbc2/ServerPreparedStmtTest.java Added Files: jdbc/org/postgresql/test/jdbc2/CursorFetchTest.java
* Applied jdbc patch from Kim Ho at RedHat to improve boolean support, as wellBarry Lind2003-09-22
| | | | | | | | | | | as some additional regression tests for this an other recent changes. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/test/jdbc2/DateTest.java jdbc/org/postgresql/test/jdbc2/ResultSetTest.java jdbc/org/postgresql/test/jdbc2/TimeTest.java jdbc/org/postgresql/test/jdbc2/TimestampTest.java
* HeapTupleSatisfiesVacuum() needs to be more careful about theTom Lane2003-09-22
| | | | | | | | | | | | | | | | | | | difference between INSERT_IN_PROGRESS and DELETE_IN_PROGRESS for tuples inserted and then deleted by a concurrent transaction. Example of bug: regression=# create table foo (f1 int); CREATE TABLE regression=# begin; BEGIN regression=# insert into foo values(1); INSERT 195531 1 regression=# delete from foo; DELETE 1 regression=# insert into foo values(1); INSERT 195532 1 regression=# create unique index fooi on foo(f1); ERROR: could not create unique index DETAIL: Table contains duplicated values.