Re: BUG #5676: When creating a trigger an dummy argument is inserted.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5676: When creating a trigger an dummy argument is inserted.
Дата
Msg-id 28421.1285344215@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #5676: When creating a trigger an dummy argument is inserted.  ("Christopher Hotchkiss" <christopher.a.hotchkiss@jpmchase.com>)
Ответы Re: BUG #5676: When creating a trigger an dummy argument is inserted.  (Christopher A Hotchkiss <christopher.a.hotchkiss@jpmchase.com>)
Список pgsql-bugs
"Christopher Hotchkiss" <christopher.a.hotchkiss@jpmchase.com> writes:
> When creating the following trigger:

> CREATE TRIGGER c_aud_trg
>   BEFORE INSERT OR UPDATE OR DELETE
>   ON ca
>   FOR EACH ROW
>   EXECUTE PROCEDURE c_aud_trg_trfunc();

> It will actually get created as (using pgAdmin 1.12):
> CREATE TRIGGER c_aud_trg
>   BEFORE INSERT OR UPDATE
>   ON ca
>   FOR EACH ROW
>   EXECUTE PROCEDURE c_aud_trg_func(E'\\x');

> If that same trigger is dropped and re-added using what is in the database,
> the following shows up:
> CREATE TRIGGER c_aud_trg
>   BEFORE INSERT OR UPDATE
>   ON ca
>   FOR EACH ROW
>   EXECUTE PROCEDURE c_aud_trg_func(E'\\x5c7800');

I think what you've got here is a pgAdmin bug, because I see no such
behavior using psql and pg_dump.  Suggest reporting it on the pgAdmin
mailing lists.

            regards, tom lane

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

Предыдущее
От: "Christopher Hotchkiss"
Дата:
Сообщение: BUG #5676: When creating a trigger an dummy argument is inserted.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: installer problems