Re: aclitem out/in don't "work" - Mailing list pgsql-hackers

From Tom Lane
Subject Re: aclitem out/in don't "work"
Date
Msg-id 382.1205439493@sss.pgh.pa.us
Whole thread Raw
In response to aclitem out/in don't "work"  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: aclitem out/in don't "work"
List pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> The output of aclitem can't be read back back in as an aclitem:

>  postgres=# select relacl::text from pg_class limit 1;
>     relacl   
>  ------------
>   {=r/stark}
>  (1 row)

>  postgres=# select relacl::text::aclitem from pg_class limit 1;
>  ERROR:  unrecognized key word: ""
>  HINT:  ACL key word must be "group" or "user".

relacl is aclitem[] not aclitem.  The error message could perhaps be
improved, but I'm not sure that it's an urgent problem...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Meetesh Karia
Date:
Subject: Re: [ADMIN] Encoding problems with migration from 8.0.14 to 8.3.0 on Windows
Next
From: Gregory Stark
Date:
Subject: Re: aclitem out/in don't "work"