Re: aclitem out/in don't "work"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: aclitem out/in don't "work"
Date: 2008-03-13 20:18:13
Message-ID: 382.1205439493@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gregory Stark <stark(at)enterprisedb(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-03-13 20:20:30 Re: pg_total_relation_size() and CHECKPOINT
Previous Message Zubkovsky, Sergey 2008-03-13 19:49:58 pg_total_relation_size() and CHECKPOINT