Skip site navigation (1) Skip section navigation (2)

Re: Largeobject Access Controls (r2460)

From: KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, Greg Smith <greg(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Largeobject Access Controls (r2460)
Date: 2010-02-04 08:30:39
Message-ID: 4B6A85AF.7020103@ak.jp.nec.com (view raw or flat)
Thread:
Lists: pgsql-hackers
(2010/02/04 0:20), Robert Haas wrote:
> 2010/2/1 KaiGai Kohei<kaigai(at)ak(dot)jp(dot)nec(dot)com>:
>> I again wonder whether we are on the right direction.
> 
> I believe the proposed approach is to dump blob metadata if and only
> if you are also dumping blob contents, and to do all of this for data
> dumps but not schema dumps.  That seems about right to me.

In other words:

 <default>     -> blob contents and metadata (owner, acl, comments) shall
                  be dumped
 --data-only   -> only blob contents shall be dumped
 --schema-only -> neither blob contents and metadata are dumped.

Can I understand correctly?

>> Originally, the reason why we decide to use per blob toc entry was
>> that "BLOB ACLS" entry needs a few exceptional treatments in the code.
>> But, if we deal with "BLOB ITEM" entry as data contents, it will also
>> need additional exceptional treatments.
> 
> But the new ones are less objectionable, maybe.
> 
> ...Robert
> 


-- 
OSS Platform Development Division, NEC
KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com>

In response to

Responses

pgsql-hackers by date

Next:From: Fujii MasaoDate: 2010-02-04 09:23:28
Subject: Re: BUG #5304: psql using conninfo fails in connecting to the server
Previous:From: Fujii MasaoDate: 2010-02-04 07:51:41
Subject: Re: testing cvs HEAD - HS/SR - cannot stat

Privacy Policy | About PostgreSQL
Copyright © 1996-2013 The PostgreSQL Global Development Group