Re: [HACKERS] SQL procedures - Mailing list pgsql-hackers

From Laurenz Albe
Subject Re: [HACKERS] SQL procedures
Date
Msg-id 1510736178.2424.10.camel@cybertec.at
Whole thread Raw
In response to Re: [HACKERS] SQL procedures  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-hackers
Simon Riggs wrote:
> It would seem to be implied by the SQLStandard that Functions and
> Procedures occupy the same namespace, since they are both Routines.
> 
> I can't see any benefit from having foo() function AND foo() procedure
> at same time. It would certainly confuse most people that come from
> programming languages without that distinction, but maybe someone
> knows some Oracle-foo that I don't?

The question already has been decided on the (better) basis of
the SQL standard, but for what it is worth:

Oracle has functions and procedures in the same name space.

Yours,
Laurenz Albe


pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Assertion failure when the non-exclusive pg_stop_backup aborted.
Next
From: Aleksander Alekseev
Date:
Subject: Re: Transform for pl/perl