Re: BUG #4443: Dblink wrong output on trigger

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4443: Dblink wrong output on trigger
Дата
Msg-id 8306.1222777884@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4443: Dblink wrong output on trigger  ("Jose Manuel Mira" <labsig.iug@ua.es>)
Список pgsql-bugs
"Jose Manuel Mira" <labsig.iug@ua.es> writes:
> If we open manually a connection (with this sentence:
> select dblink_connect('conexion','dbname=XXX user=XXX password=XXX
> host=localhost') ) the trigger must show a notice that there are open
> connections and proceed to close it. The trigger never evaluates this
> condition and proceeds to insert a row, not taking into account that there
> are open connections with the same name.

You didn't show exactly what you did and what result you got.  I tried
the function and trigger and they seem to work as expected here.

            regards, tom lane

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