Re: another trigger problem

Поиск
Список
Период
Сортировка
От Luca Ferrari
Тема Re: another trigger problem
Дата
Msg-id CAKoxK+4iHmCROAi3LODbU6ka-Supq1KzQak9hJQS-6QVc_6dFg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: another trigger problem  (Susan Cassidy <susan.cassidy@decisionsciencescorp.com>)
Список pgsql-general
On Sat, Mar 8, 2014 at 12:36 AM, Susan Cassidy
<susan.cassidy@decisionsciencescorp.com> wrote:
> You would think that postgres could have output a more helpful error
> message, though.


I believe that is the correct message: you were concatenating a null
string to something, and so nullifying the string you were using for
execute. In other words, it is not a wrong error message, or it could
not have been better since the instruction before the execute was
doing what you asked for. I believe in such cases it is better to
check against the query string and execute it only if valid.

Luca


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

Предыдущее
От: Jarosław Błąd
Дата:
Сообщение: DB GUI design tool?
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: log_statement per table