Skip site navigation (1) Skip section navigation (2)

Re: [SQL] loosing connection after function call

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Markus Wagner <wagner(at)imsd(dot)uni-mainz(dot)de>
Cc: "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>, pgsql-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: [SQL] loosing connection after function call
Date: 2001-06-26 14:32:01
Message-ID: 2989.993565921@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-sql
Markus Wagner <wagner(at)imsd(dot)uni-mainz(dot)de> writes:
> I would like to put one table create command into a C function
> "my_init", just to provide a simple interface for all tables where these
> tables are needed. When I execute "select my_init();" I loose the
> database connection (pgaccess).

What Postgres version?

			regards, tom lane

In response to

pgsql-interfaces by date

Next:From: Louisa ThueDate: 2001-06-26 19:46:44
Subject: Question
Previous:From: Gianluigi RovedaDate: 2001-06-26 14:23:09
Subject: PGresult and for-cycle

pgsql-sql by date

Next:From: Tom LaneDate: 2001-06-26 14:41:20
Subject: Re: Problems using a rule with the WHERE clause
Previous:From: John HaslerDate: 2001-06-26 14:29:11
Subject: Nested Transactions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group