From: Szymon Guz <mabewlun@gmail.com>
To: Kasia Tuszynska <ktuszynska@esri.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: postgres function does not handle PUBLIC - expected?
Date: Tue, 10 Aug 2010 21:35:16 +0200
Message-ID: <AANLkTim+biVOvQyntTfSy+H_z1M58TPrLZtF8TrHvcsu@mail.gmail.com> (raw)
In-Reply-To: <232B5217AD58584C87019E8933556D110211D1AEDA@redmx2.esri.com>
References: <232B5217AD58584C87019E8933556D110211D1AE9F@redmx2.esri.com>
<AANLkTi=oeOFdmMsr515Npgk_qupNX2BdUY60UyOg7O+8@mail.gmail.com>
<232B5217AD58584C87019E8933556D110211D1AEDA@redmx2.esri.com>
2010/8/10 Kasia Tuszynska <ktuszynska@esri.com>
> Szymon,
>
> The PUBLIC role is a default, non login role, that is created with every
> postgres cluster/instance.
>
> To my knowledge PUBLIC is a standard user in any rdbms. So, existence of
> public is not the issue here.
>
> Sincerely,
>
> Kasia
>
>
No, there is no PUBLIC default role in ANY rdbms. In PostgreSQL there is
PUBLIC schema, not role. In my PostgreSQL database there wasn't any such
role... but I'll check that now... ok, I've checked, I've got 15 roles, none
is names PUBLIC, what's more, I don't have any roles that cannot login.
run simple query: SELECT rolname FROM pg_roles; and check the existence of
the PUBLIC role.
regards
Szymon Guz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mabewlun@gmail.com, ktuszynska@esri.com
Subject: Re: postgres function does not handle PUBLIC - expected?
In-Reply-To: <AANLkTim+biVOvQyntTfSy+H_z1M58TPrLZtF8TrHvcsu@mail.gmail.com>
References: <232B5217AD58584C87019E8933556D110211D1AE9F@redmx2.esri.com> <AANLkTi=oeOFdmMsr515Npgk_qupNX2BdUY60UyOg7O+8@mail.gmail.com> <232B5217AD58584C87019E8933556D110211D1AEDA@redmx2.esri.com> <AANLkTim+biVOvQyntTfSy+H_z1M58TPrLZtF8TrHvcsu@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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