mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +03:00
Various cleanups from D'Arcy
This commit is contained in:
@@ -9,14 +9,18 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/pgtcl.c,v 1.4 1996/11/09 10:39:40 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/pgtcl.c,v 1.5 1996/11/11 12:14:38 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "postgres.h"
|
||||
#include "tcl.h"
|
||||
#include "libpgtcl.h"
|
||||
#include "pgtclCmds.h"
|
||||
#include "pgtclId.h"
|
||||
|
||||
/*
|
||||
* Pgtcl_Init
|
||||
@@ -27,7 +31,7 @@
|
||||
/*
|
||||
* Tidy up forgotten postgres connection at Tcl_Exit
|
||||
*/
|
||||
void
|
||||
static void
|
||||
Pgtcl_AtExit (ClientData cData)
|
||||
{
|
||||
Pg_clientData *cd = (Pg_clientData *)cData;
|
||||
@@ -52,7 +56,7 @@ Pgtcl_AtExit (ClientData cData)
|
||||
/*
|
||||
* Tidy up forgotten postgres connections on Interpreter deletion
|
||||
*/
|
||||
void
|
||||
static void
|
||||
Pgtcl_Shutdown (ClientData cData, Tcl_Interp *interp)
|
||||
{
|
||||
Pgtcl_AtExit(cData);
|
||||
|
||||
Reference in New Issue
Block a user