Re: Inconsistent compilation error

Поиск
Список
Период
Сортировка
От raf
Тема Re: Inconsistent compilation error
Дата
Msg-id 20180425115401.haap5gwtgww5iw5g@raf.org
обсуждение исходный текст
Ответ на Re: Inconsistent compilation error  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
David G. Johnston wrote:

> On Wed, Apr 18, 2018 at 7:04 PM, Melvin Davidson <melvin6925@gmail.com>
> wrote:
> 
> >
> > Normally, literals are inside the first quotes. IE: raise notice '
> > blah_history.original_id' %', r;
> >
> 
> ​But a compiler doesn't care about human concepts like "normally" - it just
> cares about "syntactically correct" and as David and Tom observe the
> original post as visually observed is correct.  Which leads one to think
> that reality and the original post somehow don't match, or as Tom said what
> the server sees and what is sent end up being different (client encoding
> issues or some such).
> 
> And pretty sure "r" being NULL just puts an empty string where the % is.
> 
> David J.

passing a null value to raise notice outputs it as the string "NULL".



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

Предыдущее
От: raf@raf.org
Дата:
Сообщение: Re: Inconsistent compilation error
Следующее
От: raf@raf.org
Дата:
Сообщение: Re: Inconsistent compilation error