Skip to main content
Active reading [<https://en.wiktionary.org/wiki/not#Adverb>].
Source Link
Peter Mortensen
  • 31.2k
  • 22
  • 111
  • 134
  1. postgres is nonot a default role.

    When you create the PostgreSQL database cluster with initdb, you can specify the name of the installation superuser with the -U option. If you omit that option, the name of the superuser will be the same as the name of the operating system user you are using.

    Since it is customary to have initdb PostgreSQL run by an operating system user postgres, the superuser is usually called postgres too, but that isisn't in noany way required.

  2. postgres is just a normal superuser like any other.

    You will have trouble dropping it because it owns all the system objects, and you cannot easily modify those objects. You are advised not to try.

  3. pg_read_all_settings and the others don't show up in pg_user because they are nonot login roles.

  1. postgres is no default role.

    When you create the PostgreSQL database cluster with initdb, you can specify the name of the installation superuser with the -U option. If you omit that option, the name of the superuser will be the same as the name of the operating system user you are using.

    Since it is customary to have initdb PostgreSQL run by an operating system user postgres, the superuser is usually called postgres too, but that is in no way required.

  2. postgres is just a normal superuser like any other.

    You will have trouble dropping it because it owns all the system objects, and you cannot easily modify those objects. You are advised not to try.

  3. pg_read_all_settings and the others don't show up in pg_user because they are no login roles.

  1. postgres is not a default role.

    When you create the PostgreSQL database cluster with initdb, you can specify the name of the installation superuser with the -U option. If you omit that option, the name of the superuser will be the same as the name of the operating system user you are using.

    Since it is customary to have initdb PostgreSQL run by an operating system user postgres, the superuser is usually called postgres too, but that isn't in any way required.

  2. postgres is just a normal superuser like any other.

    You will have trouble dropping it because it owns all the system objects, and you cannot easily modify those objects. You are advised not to try.

  3. pg_read_all_settings and the others don't show up in pg_user because they are not login roles.

Source Link
Laurenz Albe
  • 258.6k
  • 22
  • 315
  • 395

  1. postgres is no default role.

    When you create the PostgreSQL database cluster with initdb, you can specify the name of the installation superuser with the -U option. If you omit that option, the name of the superuser will be the same as the name of the operating system user you are using.

    Since it is customary to have initdb PostgreSQL run by an operating system user postgres, the superuser is usually called postgres too, but that is in no way required.

  2. postgres is just a normal superuser like any other.

    You will have trouble dropping it because it owns all the system objects, and you cannot easily modify those objects. You are advised not to try.

  3. pg_read_all_settings and the others don't show up in pg_user because they are no login roles.