Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5QEija88200; Tue, 26 Jun 2001 10:44:45 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id f5QEW1F02992; Tue, 26 Jun 2001 10:32:02 -0400 (EDT) To: Markus Wagner cc: "pgsql-sql@postgresql.org" , pgsql-interfaces Subject: Re: [SQL] loosing connection after function call In-reply-to: <3B382330.3D865E3@imsd.uni-mainz.de> References: <3B382330.3D865E3@imsd.uni-mainz.de> Comments: In-reply-to Markus Wagner message dated "Tue, 26 Jun 2001 07:52:48 +0200" Date: Tue, 26 Jun 2001 10:32:01 -0400 Message-ID: <2989.993565921@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200106/78 X-Sequence-Number: 1741 Markus Wagner 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