Re: [SQL] loosing connection after function call

2001-06-26 Thread Tom Lane
Markus Wagner <[EMAIL PROTECTED]> 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

[SQL] loosing connection after function call

2001-06-25 Thread Markus Wagner
Hi, 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). Using psql -f I get the errors below. I reduced the complex