- 04 Apr, 2000 2 commits
-
-
Tom Lane authored
xact abort state in pg_exec_query_dest, we should continue scanning the querytree list, on the off chance that one of the later queries in the string is COMMIT or ROLLBACK.
-
Tom Lane authored
would crash, due to premature invocation of SetQuerySnapshot(). Clean up problems with handling of multiple queries by splitting pg_parse_and_plan into two routines. The old code would not, for example, do the right thing with END; SELECT... submitted in one query string when it had been in transaction abort state, because it'd decide to skip planning the SELECT before it had executed the END. New arrangement is simpler and doesn't force caller to plan if only parse+rewrite is needed.
-
- 23 Mar, 2000 1 commit
-
-
Bruce Momjian authored
easy (maybe dumb) fix for 5 in attachment define.patch greetings, Andreas
-
- 01 Mar, 2000 1 commit
-
-
Tatsuo Ishii authored
-
- 22 Feb, 2000 1 commit
-
-
Hiroshi Inoue authored
-
- 21 Feb, 2000 1 commit
-
-
Hiroshi Inoue authored
* Allow PQrequestCancel() to terminate when in waiting-for-lock state Changes are limited to BACKEND,however.
-
- 20 Feb, 2000 1 commit
-
-
Tom Lane authored
command line processing. As it stood, a bogus PGOPTIONS value from a client would force a database system restart. Not bad as a denial- of-service attack...
-
- 19 Feb, 2000 1 commit
-
-
Tom Lane authored
variable, instead calling same code in variable.c that is used to parse SET DATESTYLE. Fix bug: although backend's startup datestyle had been changed to ISO, 'RESET DATESTYLE' and 'SET DATESTYLE TO DEFAULT' didn't know about it. For consistency I have made the latter two reset to the PGDATESTYLE-defined initial value, which may not be the same as the compiled-in default of ISO.
-
- 18 Feb, 2000 1 commit
-
-
Hiroshi Inoue authored
-
- 26 Jan, 2000 1 commit
-
-
Bruce Momjian authored
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
-
- 22 Jan, 2000 1 commit
-
-
Tom Lane authored
pghackers discussion of 5-Jan-2000. The amopselect and amopnpages estimators are gone, and in their place is a per-AM amcostestimate procedure (linked to from pg_am, not pg_amop).
-
- 09 Jan, 2000 1 commit
-
-
Tatsuo Ishii authored
-
- 22 Dec, 1999 1 commit
-
-
Hiroshi Inoue authored
to live in a transaction before access to db during backend startup.
-
- 16 Nov, 1999 1 commit
-
-
Tom Lane authored
Warn_restart has been set by the backend main loop. This means that elog(ERROR) or elog(FATAL) in the postmaster or during backend startup now have well-defined behavior: proc_exit() rather than coredump. In the case of elog() inside the postmaster, I think that proc_exit() is probably not enough --- don't we want our child backends to be forced to quit too? But I don't understand Vadim's recent changes in this area, so I'll leave it to him to look over and tweak if needed.
-
- 25 Oct, 1999 1 commit
-
-
Tom Lane authored
eliminating some wildly inconsistent coding in various parts of the system. I set MAXPGPATH = 1024 in config.h.in. If anyone is really convinced that there ought to be a configure-time test to set the value, go right ahead ... but I think it's a waste of time.
-
- 23 Oct, 1999 1 commit
-
-
Tom Lane authored
pg_dump and interfaces/odbc still need some work.)
-
- 08 Oct, 1999 3 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
up debugging options for postmaster and postgres programs. postmaster -d is no longer optional. Documentation updates.
-
- 06 Oct, 1999 1 commit
-
-
Vadim B. Mikheev authored
First step in cleaning up backend initialization code. Fix for FATAL: now FATAL is ERROR + exit.
-
- 29 Sep, 1999 1 commit
-
-
Jan Wieck authored
Implements the CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands. TODO: Generic builtin trigger procedures Automatic execution of appropriate CREATE CONSTRAINT... at CREATE TABLE Support of new trigger type in pg_dump Swapping of huge # of events to disk Jan
-
- 24 Sep, 1999 1 commit
-
-
Tom Lane authored
* Buffer refcount cleanup (per my "progress report" to pghackers, 9/22). * Add links to backend PROC structs to sinval's array of per-backend info, and use these links for routines that need to check the state of all backends (rather than the slow, complicated search of the ShmemIndex hashtable that was used before). Add databaseOID to PROC structs. * Use this to implement an interlock that prevents DESTROY DATABASE of a database containing running backends. (It's a little tricky to prevent a concurrently-starting backend from getting in there, since the new backend is not able to lock anything at the time it tries to look up its database in pg_database. My solution is to recheck that the DB is OK at the end of InitPostgres. It may not be a 100% solution, but it's a lot better than no interlock at all...) * In ALTER TABLE RENAME, flush buffers for the relation before doing the rename of the physical files, to ensure we don't get failures later from mdblindwrt(). * Update TRUNCATE patch so that it actually compiles against current sources :-(. You should do "make clean all" after pulling these changes.
-
- 31 Aug, 1999 1 commit
-
-
Tom Lane authored
backend. Still much left to do.
-
- 22 Jul, 1999 1 commit
-
-
Tom Lane authored
unexpected loss of connection to frontend.
-
- 19 Jul, 1999 1 commit
-
-
Bruce Momjian authored
-
- 17 Jul, 1999 1 commit
-
-
Bruce Momjian authored
-
- 16 Jul, 1999 3 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 15 Jul, 1999 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 02 Jul, 1999 1 commit
-
-
Bruce Momjian authored
-
- 29 May, 1999 1 commit
-
-
Vadim B. Mikheev authored
2. Get rid of locking when updating statistics in vacuum. 3. Use QuerySnapshot in COPY TO and call SetQuerySnashot in main tcop loop before FETCH and COPY TO.
-
- 26 May, 1999 1 commit
-
-
Bruce Momjian authored
-
- 25 May, 1999 1 commit
-
-
Bruce Momjian authored
-
- 22 May, 1999 2 commits
-
-
Tom Lane authored
from being accepted when they are passed from client connection request. Get rid of a couple that no longer do anything (like -P).
-
Bruce Momjian authored
-
- 13 May, 1999 1 commit
-
-
Tom Lane authored
lists are now plain old garden-variety Lists, allocated with palloc, rather than specialized expansible-array data allocated with malloc. This substantially simplifies their handling and eliminates several sources of memory leakage. Several basic types of erroneous queries (syntax error, attempt to insert a duplicate key into a unique index) now demonstrably leak zero bytes per query.
-
- 11 May, 1999 1 commit
-
-
Jan Wieck authored
-d4 now prints compressed trees from nodeToString() -d5 prints pretty trees via nodeDisplay() new pg_options: pretty_plan, pretty_parse, pretty_rewritten Jan
-
- 09 May, 1999 1 commit
-
-
Tom Lane authored
on queries involving UNION, EXCEPT, INTERSECT.
-