mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
* 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
24 lines
592 B
C
24 lines
592 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* libpgtcl.h--
|
|
*
|
|
* libpgtcl is a tcl package for front-ends to interface with PostgreSQL.
|
|
* It's a Tcl wrapper for libpq.
|
|
*
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: libpgtcl.h,v 1.6 1998/09/21 01:01:58 momjian Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef LIBPGTCL_H
|
|
#define LIBPGTCL_H
|
|
|
|
#include "tcl.h"
|
|
|
|
extern int Pgtcl_Init(Tcl_Interp * interp);
|
|
extern int Pgtcl_SafeInit(Tcl_Interp * interp);
|
|
|
|
#endif /* LIBPGTCL_H */
|