"David G. Johnston" <david.g.johnston@xxxxxxxxx> writes: > On Tue, Aug 7, 2018 at 12:31 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote: >> Yes. It's supposed to be a syntax check, not a check that the function >> would work when executed. (Depending on the particular PL you're using, >> which you didn't mention, it might be a pretty weak syntax check too.) > The quoted text includes "however when I use it in a plpgsql function" so > we're good there. Ah, you're right, my apologies for reading too hastily. regards, tom lane