| From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
|---|---|
| To: | Post Gresql <postgresql(at)taljaren(dot)se> |
| Cc: | PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Packages? |
| Date: | 2020-11-13 07:35:17 |
| Message-ID: | CAFj8pRConRCxWX4qyEMb+HMN=RpC2zvg802QCHornd7PYs_18g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi
pá 13. 11. 2020 v 8:29 odesílatel Post Gresql <postgresql(at)taljaren(dot)se>
napsal:
> Hi,
>
> Is there chance we will get packages (like those in Oracle) in PostgreSQL?
>
This probability is very low - Postgres has redundant feature - schema.
Schema (in Postgres) can be used like Oracle's packages. Orafce uses
schemas instead packages well.
> They are kind of nice to have. The main advantage from my point of view
> is the ability to grant execute to a single package to a user and then
> they can run all procedures in the package.
>
Without usage right nobody can use function or procedure from schema.
Regards
Pavel
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mario Emmenlauer | 2020-11-13 09:28:01 | Re: Is it possible to write a generic UPSERT? |
| Previous Message | Post Gresql | 2020-11-13 07:29:26 | Packages? |