diff options
author | Bruce Momjian | 1998-09-21 01:02:04 +0000 |
---|---|---|
committer | Bruce Momjian | 1998-09-21 01:02:04 +0000 |
commit | 4b048fbfaa16c8c35ee2a8411c9f0305d1c399b8 (patch) | |
tree | bee21dc89db8fcca0fbbf0340a6d22792776db35 /src/interfaces/libpgtcl/pgtclCmds.h | |
parent | b0297d806bc8e0357d34b12c8c7f732a27b8e749 (diff) |
This patch covers several to-do items that I had for libpgtcl:
* It works under both Tcl 7.6 and Tcl 8.0 now. (The code claims to
work under Tcl 7.5 as well, but I have no way to test that ---
if anyone still cares, please check it with 7.5.)
* pg_listen suppresses extra LISTEN commands and correctly sends an
UNLISTEN when the last listen request for a relation is cancelled.
(Note this means it will not work with pre-6.4 backends, but that
was true already because it depends on the current libpq, which
only speaks protocol 2.0.)
* Added -error option to pg_result so that there's some way to find
out what you did wrong ;-)
* Miscellaneous cleanups of code comments and overenthusiastic #includes.
BTW, I bumped the package version number from 1.2 to 1.3. Is this
premature? Does someone run around and do that routinely before
each pgsql release?
regards, tom lane
Diffstat (limited to 'src/interfaces/libpgtcl/pgtclCmds.h')
-rw-r--r-- | src/interfaces/libpgtcl/pgtclCmds.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interfaces/libpgtcl/pgtclCmds.h b/src/interfaces/libpgtcl/pgtclCmds.h index 0f8b26f689d..dfe53db269f 100644 --- a/src/interfaces/libpgtcl/pgtclCmds.h +++ b/src/interfaces/libpgtcl/pgtclCmds.h @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pgtclCmds.h,v 1.11 1998/09/01 04:39:57 momjian Exp $ + * $Id: pgtclCmds.h,v 1.12 1998/09/21 01:02:02 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -54,9 +54,10 @@ typedef struct Pg_ConnectionId_s Pg_TclNotifies *notify_list;/* head of list of notify info */ int notifier_running; /* notify event source is live */ - + int notifier_socket; /* PQsocket on which notifier is listening */ } Pg_ConnectionId; +/* Values of res_copyStatus */ #define RES_COPY_NONE 0 #define RES_COPY_INPROGRESS 1 #define RES_COPY_FIN 2 |