pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
packages
4+ messages / 4 participants
[nested] [flat]

* packages
@ 2002-06-12 06:21  Jeff Davis <list-pgsql-general@empires.org>
  0 siblings, 1 reply; 4+ messages in thread

From: Jeff Davis @ 2002-06-12 06:21 UTC (permalink / raw)
  To: pgsql-general

I hope this question is not too general.

I remember reading on one of the postgresql lists a while back (either 
-general or -hackers) the mention of "packages". As I understood at the time, 
a package enables the installation of third party extensions in a packaged 
way (not unlike a software package) so that you could easily add, for 
instance, a set of xml functions (just an example). 

It was also my understanding that packages would work closely with schemas, 
which also makes sense.

Does this mean, perhaps, that package support is planned for the 7.3 release 
(which includes schemas), or is it too involved to add at this stage? Is my 
understanding correct? Do the developers even agree that packages should 
exist?

	regards,
		jeff



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: packages
@ 2002-06-12 13:36  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Jeff Davis <list-pgsql-general@empires.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2002-06-12 13:36 UTC (permalink / raw)
  To: Jeff Davis <list-pgsql-general@empires.org>; +Cc: pgsql-general

Jeff Davis <list-pgsql-general@empires.org> writes:
> Does this mean, perhaps, that package support is planned for the 7.3 release 
> (which includes schemas), or is it too involved to add at this stage? Is my 
> understanding correct? Do the developers even agree that packages should 
> exist?

The original package patch was rejected on the grounds that it covered
too much of the same territory as schemas.  Now that we actually have
schema support (mostly) in there, I wouldn't object to considering
whether some subset of package functionality still makes sense to add
in.  Whether that'll actually happen for 7.3 is anyone's guess; there's
been no sign of any discussion or work about it.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Packages?
@ 2020-11-13 07:29  Post Gresql <postgresql@taljaren.se>
  0 siblings, 1 reply; 4+ messages in thread

From: Post Gresql @ 2020-11-13 07:29 UTC (permalink / raw)
  To: PostgreSQL General <pgsql-general@lists.postgresql.org>

Hi,

Is there chance we will get packages (like those in Oracle) in PostgreSQL?

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.






^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Packages?
@ 2020-11-13 07:35  Pavel Stehule <pavel.stehule@gmail.com>
  parent: Post Gresql <postgresql@taljaren.se>
  0 siblings, 0 replies; 4+ messages in thread

From: Pavel Stehule @ 2020-11-13 07:35 UTC (permalink / raw)
  To: Post Gresql <postgresql@taljaren.se>; +Cc: PostgreSQL General <pgsql-general@lists.postgresql.org>

Hi

pá 13. 11. 2020 v 8:29 odesílatel Post Gresql <postgresql@taljaren.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

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2020-11-13 07:35 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-06-12 06:21 packages Jeff Davis <list-pgsql-general@empires.org>
2002-06-12 13:36 ` Tom Lane <tgl@sss.pgh.pa.us>
2020-11-13 07:29 Packages? Post Gresql <postgresql@taljaren.se>
2020-11-13 07:35 ` Re: Packages? Pavel Stehule <pavel.stehule@gmail.com>

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