]> granicus.if.org Git - postgresql/commit
The attached patch modifies libpgtcl per previous discussion: the
authorBruce Momjian <bruce@momjian.us>
Tue, 16 Jun 1998 04:10:17 +0000 (04:10 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 16 Jun 1998 04:10:17 +0000 (04:10 +0000)
commit583891833ff102b805a752ded0ad38bb8087dcf9
tree9dbeb199ed4cf0c73edb100837977fce3bb9ab86
parent693b156a7003d774752095585df0c609c3dce9d9
The attached patch modifies libpgtcl per previous discussion:  the
pg_notifies statement is eliminated, and callbacks defined by
pg_listen are instead invoked automatically from the Tcl idle loop
whenever a NOTIFY message is received.

I have done only cursory testing, so there may be problems still
lurking (particularly on non-Unix machines?).  But it seems to
work.

Patch is against today's cvs sources.  Note that this will not work
with the 6.3.2 release since it depends on the new libpq.

The diffs are a bit large so I've gzipped them.  A patch to update
libpgtcl.sgml is included too.

regards, tom lane
doc/src/sgml/libpgtcl.sgml
src/interfaces/libpgtcl/pgtcl.c
src/interfaces/libpgtcl/pgtclCmds.c
src/interfaces/libpgtcl/pgtclCmds.h
src/interfaces/libpgtcl/pgtclId.c
src/interfaces/libpgtcl/pgtclId.h