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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Louisa Thue 2001-06-26 19:46:44 Question
Previous Message Gianluigi Roveda 2001-06-26 14:23:09 PGresult and for-cycle

Browse pgsql-sql by date

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