Re: Inconsistent compilation error - Mailing list pgsql-general

From raf
Subject Re: Inconsistent compilation error
Date
Msg-id 20180425115401.haap5gwtgww5iw5g@raf.org
Whole thread Raw
In response to Re: Inconsistent compilation error  ("David G. Johnston" <david.g.johnston@gmail.com>)
List 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 by date:

Previous
From: raf@raf.org
Date:
Subject: Re: Inconsistent compilation error
Next
From: raf@raf.org
Date:
Subject: Re: Inconsistent compilation error