Connect within a db function

Поиск
Список
Период
Сортировка
От Joonas Makkonen
Тема Connect within a db function
Дата
Msg-id 01aa01c00615$b4626100$e62689c2@infosto.fi
обсуждение исходный текст
Список pgsql-interfaces
Is it possible to connect to another db in a function called from sql.

ie. SELECT foobar(args) FROM dummy;

where foobar is a function that makes a connection to another db and does a
few things. The problem is that when ever the function makes a connection
the backend dies violently. Is this a bug or is such behaviour forbidden?
The function is written in C. When tested in a separate program it works
just fine.
   Joonas Makkonen


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Nelson Ferreira Jr
Дата:
Сообщение: JDBC - error reading BLOBs
Следующее
От: John David Garza
Дата:
Сообщение: Re: Migration