pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Marcelo Lacerda <marceloslacerda@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: check_function_bodies not doing much
Date: Tue, 07 Aug 2018 15:47:19 -0400
Message-ID: <16207.1533671239@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwbWS1u3KZ9sjw9u2h-4y0hSESmAAzf682STpon4OH-NoQ@mail.gmail.com>
References: <CAPmRTtMC=4ZTZ_-oobpyDUqewn7r2WHzza-UPnx8cdbKmuG-TA@mail.gmail.com>
	<14795.1533670290@sss.pgh.pa.us>
	<CAKFQuwbWS1u3KZ9sjw9u2h-4y0hSESmAAzf682STpon4OH-NoQ@mail.gmail.com>

"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Tue, Aug 7, 2018 at 12:31 PM, Tom Lane <tgl@sss.pgh.pa.us> 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




view thread (9+ messages)  latest in thread

Message-ID: <16207.1533671239@sss.pgh.pa.us>
Permalink:  ../16207.1533671239@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16207.1533671239@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, marceloslacerda@gmail.com
  Subject: Re: check_function_bodies not doing much
  In-Reply-To: <16207.1533671239@sss.pgh.pa.us>
  References: <CAPmRTtMC=4ZTZ_-oobpyDUqewn7r2WHzza-UPnx8cdbKmuG-TA@mail.gmail.com> <14795.1533670290@sss.pgh.pa.us> <CAKFQuwbWS1u3KZ9sjw9u2h-4y0hSESmAAzf682STpon4OH-NoQ@mail.gmail.com> <16207.1533671239@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox