Re: Event Triggers: adding information - Mailing list pgsql-hackers

From Dickson S. Guedes
Subject Re: Event Triggers: adding information
Date
Msg-id CAHHcrep1YjPLFWONsjeCtucBHkMPvmhaFQ_3LaezTWvRE7zJYg@mail.gmail.com
Whole thread Raw
In response to Re: Event Triggers: adding information  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
2013/1/21 Robert Haas <robertmhaas@gmail.com>:
> Another thing is that we might want to document that if a command
> errors out, ddl_command_end will never be reached; and perhaps also
> that if ddl_command_start errors out, the command itself will never be
> reached.  Perhaps this is so obvious as to not bear mentioning, I
> don't know, but the thought crossed my mind that someone might fail to
> realize it.

I think that should be a mention about that in docs, someone could
expect that ddl_command_end be reached even when
ddl_command_start erros out, and try to use it in some way.

Regards,
-- 
Dickson S. Guedes
mail/xmpp: guedes@guedesoft.net - skype: guediz
http://github.com/guedes - http://guedesoft.net
http://www.postgresql.org.br



pgsql-hackers by date:

Previous
From: Peter van Hardenberg
Date:
Subject: Prepared statements fail after schema changes with surprising error
Next
From: Tom Lane
Date:
Subject: Re: Prepared statements fail after schema changes with surprising error