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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Christopher Hotchkiss" <christopher(dot)a(dot)hotchkiss(at)jpmchase(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5676: When creating a trigger an dummy argument is inserted.
Date: 2010-09-24 16:03:35
Message-ID: 28421.1285344215@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Christopher Hotchkiss" <christopher(dot)a(dot)hotchkiss(at)jpmchase(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Christopher A Hotchkiss 2010-09-24 16:05:21 Re: BUG #5676: When creating a trigger an dummy argument is inserted.
Previous Message Christopher Hotchkiss 2010-09-24 15:40:57 BUG #5676: When creating a trigger an dummy argument is inserted.