pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Documentation sections does not match exactly
2+ messages / 2 participants
[nested] [flat]

* Documentation sections does not match exactly
@ 2019-01-08 14:01 PG Doc comments form <noreply@postgresql.org>
  2019-01-08 17:23 ` Re: Documentation sections does not match exactly Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2019-01-08 14:01 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: viacheslav.pumpur@gmail.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.4/contrib.html
Description:

Hi All,

https://www.postgresql.org/docs/9.4/sql-createextension.html says:
"Loading an extension requires the same privileges that would be required to
create its component objects. For most extensions this means superuser or
database owner privileges are needed."
While https://www.postgresql.org/docs/9.4/contrib.html says:
"CREATE EXTENSION module_name;
This command must be run by a database superuser."
So contrib page exactly pointing that superuser is a mandatory requirement
while createextension page leaves space for free interpretation.

Kind regards,
Slava


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

* Re: Documentation sections does not match exactly
  2019-01-08 14:01 Documentation sections does not match exactly PG Doc comments form <noreply@postgresql.org>
@ 2019-01-08 17:23 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2019-01-08 17:23 UTC (permalink / raw)
  To: viacheslav.pumpur@gmail.com; +Cc: pgsql-docs@lists.postgresql.org

=?utf-8?q?PG_Doc_comments_form?= <noreply@postgresql.org> writes:
> https://www.postgresql.org/docs/9.4/sql-createextension.html says:
> "Loading an extension requires the same privileges that would be required to
> create its component objects. For most extensions this means superuser or
> database owner privileges are needed."
> While https://www.postgresql.org/docs/9.4/contrib.html says:
> "CREATE EXTENSION module_name;
> This command must be run by a database superuser."
> So contrib page exactly pointing that superuser is a mandatory requirement
> while createextension page leaves space for free interpretation.

I don't see anything wrong here.  The CREATE EXTENSION page is giving
the general rule.  The page about contrib modules is saying you need
to be superuser to install those particular extensions, which is true
for the great majority of them (though maybe not every one, not sure).

			regards, tom lane




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


end of thread, other threads:[~2019-01-08 17:23 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-01-08 14:01 Documentation sections does not match exactly PG Doc comments form <noreply@postgresql.org>
2019-01-08 17:23 ` Tom Lane <tgl@sss.pgh.pa.us>

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