public inbox for [email protected]  
help / color / mirror / Atom feed
Default user 'postgres' not mentioned in the documentation?
2+ messages / 2 participants
[nested] [flat]

* Default user 'postgres' not mentioned in the documentation?
@ 2019-12-22 14:37  PG Doc comments form <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2019-12-22 14:37 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/postgres-user.html
Description:

Hi

I'm a newbie and may be asking stupid questions... but 
shouldn't it be mentioned in the official documentation on this page
https://www.postgresql.org/docs/12/postgres-user.html
that postgresql upon installation automatically creates a system-user that's
called 'postgres' ?

I thought it was odd that I had to find that information on other websites

(e.g. here:
https://medium.com/coding-blocks/creating-user-database-and-adding-access-on-postgresql-8bfcd2f4a91e)

Now I'm still confused, if the docs want to tell me I should create yet
another user for safety reasons or if that's not necessary...

Thanks for clarification, any comment is valuable to me
Best regards


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

* Re: Default user 'postgres' not mentioned in the documentation?
@ 2019-12-22 16:17  Tom Lane <[email protected]>
  parent: PG Doc comments form <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2019-12-22 16:17 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

PG Doc comments form <[email protected]> writes:
> I'm a newbie and may be asking stupid questions... but 
> shouldn't it be mentioned in the official documentation on this page
> https://www.postgresql.org/docs/12/postgres-user.html
> that postgresql upon installation automatically creates a system-user that's
> called 'postgres' ?

No, because Postgres as distributed by us does no such thing.

Many vendors' packagings of Postgres create such a user (as is also
often true of their packagings of other service-type software).  But
it's up to the package's documentation to tell you about that.  Look
for a README-type file installed by the package.

			regards, tom lane






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


end of thread, other threads:[~2019-12-22 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-12-22 14:37 Default user 'postgres' not mentioned in the documentation? PG Doc comments form <[email protected]>
2019-12-22 16:17 ` Tom Lane <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox