- 18 Aug, 2002 9 commits
-
-
Tom Lane authored
-
Tom Lane authored
a token scanned by multiple lex rules.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Tom Lane authored
about %c
-
Bruce Momjian authored
-
Bruce Momjian authored
Everytime if I do PQconsumeInput (when the backend channel gets readable) I check for the return value. (0 == error) and generate a notification manually, e.g. fixed string connection_closed) and pass it to the
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 17 Aug, 2002 18 commits
-
-
Tom Lane authored
-
Bruce Momjian authored
Original patch from Thomas.
-
Bruce Momjian authored
> * Use dependency information to dump data in proper order
-
Bruce Momjian authored
> o -Add command to display locks
-
Bruce Momjian authored
-
Bruce Momjian authored
offending token more efficiently (per your suggestion of using scanbuf). The new patch does the same as before: template1=# select * frum pg_class; ERROR: parser: parse error at or near "frum" at character 10 It also implement's Tom's suggestion: template1=# select * from pg_class where\g ERROR: parse: parse error at end of input Gavin Sherry
-
Bruce Momjian authored
This patch is an updated version of the lock listing patch. I've made the following changes: - write documentation - wrap the SRF in a view called 'pg_locks': all user-level access should be done through this view - re-diff against latest CVS One thing I chose not to do is adapt the SRF to use the anonymous composite type code from Joe Conway. I'll probably do that eventually, but I'm not really convinced it's a significantly cleaner way to bootstrap SRF builtins than the method this patch uses (of course, it has other uses...) Neil Conway
-
Bruce Momjian authored
Denis A Ustimenko
-
Bruce Momjian authored
Everytime if I do PQconsumeInput (when the backend channel gets readable) I check for the return value. (0 == error) and generate a notification manually, e.g. fixed string connection_closed) and pass it to the TCL event queue. The only other thing I had to do is to comment out removing all pending events in PgStopNotifyEventSource whenever the connection was unexpectedly closed (so the manually generated event will not be deleted). A broken backend connection triggers a notify event to the client (fixed notification string "connection_closed") so proper action can be taken to switch to another database server etc. Remember that this is event driven. If you have applications, that have idle database connections most of the time, you'll get immediate feedback of a dying server. Upon connection to the server issue a pg_notify for notify event "connection_closed" and whenever the backend crashes (which it does do in very very rare cases) you get an event driven recovery. (of course the Tcl-Event loop has to be processed). Issuing a notification "connection_closed" on a still working database could be used for switching to another db-server (which I've actually impelemented right now). Gerhard Hintermayer
-
Bruce Momjian authored
Neil Conway
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 16 Aug, 2002 13 commits
-
-
Tom Lane authored
sets of triggers. Also modify psql \d command to show foreign key constraints as such and hide the triggers. pg_get_constraintdef() function added to backend to support these. From Rod Taylor, code review and some editorialization by Tom Lane.
-
Tom Lane authored
constraints, rather than as CREATE INDEX commands.
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Dave Cramer authored
-
Dave Cramer authored
-
Dave Cramer authored
-
Barry Lind authored
Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/util/PGbytea.java
-
Bruce Momjian authored
> * Reserve last few process slots for super-user if max_connections reached
-
Bruce Momjian authored
-
Bruce Momjian authored
< > * Reserve last process slot for super-user if max_connections reached
-
Bruce Momjian authored
guide in a few minor ways. Neil Conway
-