On Fri, Apr 22, 2011 at 4:13 AM, Leonardo Francalanci <m_lists(at)yahoo(dot)it> wrote:
>> Maybe you should change xl_act_commit to have a separate list of rels to
>> drop the init fork for (instead of mixing those with the list of files to
>> drop as a whole).
> I tried to follow your suggestion, thank you very much.
I have to admit I don't like this approach very much. I can't see
adding 4 bytes to every commit record for this feature.
> 3) Should we have a "cascade" option? I don't know if I have to handle
> inherited tables and other dependent objects
Look at the way ALTER TABLE [ONLY] works for other action types, and copy it.
> 4) During the check for dependencies problems, I stop as soon as I find an
> error; would it be enough?
It's a bit awkwardly phrased the way you have it. I would suggest
ERROR: constraints on permanent tables may reference only permanent tables
HINT: constraint %s
The Enterprise PostgreSQL Company
In response to
pgsql-hackers by date
|Next:||From: Robert Haas||Date: 2011-05-07 02:25:48|
|Subject: Re: switch UNLOGGED to LOGGED|
|Previous:||From: Robert Haas||Date: 2011-05-07 02:03:36|
|Subject: Re: Large Objects versus transactional behavior|