Re: Largeobject Access Controls (r2460)

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Largeobject Access Controls (r2460)
Дата
Msg-id 603c8f070912181905w63c7cea0x76953413d1577f55@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Largeobject Access Controls (r2460)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Largeobject Access Controls (r2460)  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Список pgsql-hackers
On Fri, Dec 18, 2009 at 9:48 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> Oh.  This is more complicated than it appeared on the surface.  It
>> seems that the string "BLOB COMMENTS" actually gets inserted into
>> custom dumps somewhere, so I'm not sure whether we can just change it.
>>  Was this issue discussed at some point before this was committed?
>> Changing it would seem to require inserting some backward
>> compatibility code here.  Another option would be to add a separate
>> section for "BLOB METADATA", and leave "BLOB COMMENTS" alone.  Can
>> anyone comment on what the Right Thing To Do is here?
>
> The BLOB COMMENTS label is, or was, correct for what it contained.
> If this patch has usurped it to contain other things

It has.

> I would argue
> that that is seriously wrong.  pg_dump already has a clear notion
> of how to handle ACLs for objects.  ACLs for blobs ought to be
> made to fit into that structure, not dumped in some random place
> because that saved a few lines of code.

OK.  Hopefully KaiGai or Takahiro can suggest a fix.

Thanks,

...Robert


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "suzhiyang"
Дата:
Сообщение: About "Allow VIEW/RULE recompilation when the underlying tables change"
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Largeobject Access Controls (r2460)