pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: SQL procedures
Date: Wed, 8 Nov 2017 10:04:47 -0500
Message-ID: <492a8be0-ff55-3858-7dc1-62fa07d444c2@2ndquadrant.com> (raw)
In-Reply-To: <CANP8+j+tKw9pzdmsMrehEQbQ=FEuKbu3OEDsrD77S+jBhByTww@mail.gmail.com>
References: <336f6926-8990-ff2d-4167-276ce417fc32@2ndquadrant.com>
	<CANP8+j+tKw9pzdmsMrehEQbQ=FEuKbu3OEDsrD77S+jBhByTww@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 11/6/17 16:27, Simon Riggs wrote:
> You mention PARALLEL SAFE is not used for procedures. Isn't it an
> architectural restriction that procedures would not be able to execute
> in parallel? (At least this year)

I'm not sure what you are referring to here.  I don't think the
functionality I'm proposing does anything in parallel or has any
interaction with it.

> I think we need an explanatory section of the docs, but there doesn't
> seem to be one for Functions, so there is no place to add some text
> that says the above.
> 
> I found it confusing that ALTER and DROP ROUTINE exists but not CREATE
> ROUTINE. At very least we should say somewhere "there is no CREATE
> ROUTINE", so its absence is clearly intentional. I did wonder whether
> we should have it as well, but its just one less thing to review, so
> good.

I'll look for a place to add some documentation around this.

> Was surprised that pg_dump didn't use DROP ROUTINE, when appropriate.

It's not clear to me why that would be preferred.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (57+ messages)  latest in thread

Message-ID: <492a8be0-ff55-3858-7dc1-62fa07d444c2@2ndquadrant.com>
Permalink:  ../492a8be0-ff55-3858-7dc1-62fa07d444c2@2ndquadrant.com/
Also on:    postgresql.org/message-id/492a8be0-ff55-3858-7dc1-62fa07d444c2@2ndquadrant.com

 · 

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-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, simon@2ndquadrant.com
  Subject: Re: SQL procedures
  In-Reply-To: <492a8be0-ff55-3858-7dc1-62fa07d444c2@2ndquadrant.com>
  References: <336f6926-8990-ff2d-4167-276ce417fc32@2ndquadrant.com> <CANP8+j+tKw9pzdmsMrehEQbQ=FEuKbu3OEDsrD77S+jBhByTww@mail.gmail.com> <492a8be0-ff55-3858-7dc1-62fa07d444c2@2ndquadrant.com>

* 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