Re: Package-support plans?

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Package-support plans?
Date: 2018-11-20 07:12:35
Message-ID: 3d05dc35-5d7b-7b03-35ec-a944404e593a@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nicklas Karlsson schrieb am 20.11.2018 um 07:32:
> Are there any plans for including Oracle-style packages with
> namespace/visibility support at some point or is it just "use
> schemas"? I could even live without package-state but I find it
> frustrating with the namespace pollution when the application grows.
>

If you don't need package-level variables, you could use schemas put functions in different namespaces.

create schema package_one;
create function package_one.function_one() as ...;

create schema package_two;
create function package_two.function_two() as ...;

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Пацев Антон 2018-11-20 07:18:40 Get link postgresql repo from command line (Send REST or POST request)
Previous Message Laurenz Albe 2018-11-20 07:09:13 Re: replication lag despite corrective config