Re: current is broken
От | Tom Lane |
---|---|
Тема | Re: current is broken |
Дата | |
Msg-id | 18468.968984592@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | RE: current is broken (Philip Warner <pjw@rhyme.com.au>) |
Ответы |
RE: current is broken
Re: current is broken |
Список | pgsql-hackers |
Philip Warner <pjw@rhyme.com.au> writes: > The only thing that's missing is a 'rulekind' for rules - it would be very > nice if pg_dump could use a simple method (that didn't involve munging > names) to determin is a rule is a 'view rule'. Oh, I finally see the problem: when you come to dump out the rules, you need to avoid dumping the rules that correspond to views because you're going to emit the CREATE VIEW commands separately. You don't really need a rulekind though. If it's an ON SELECT rule for a relation that you've determined to be a view, then the rule is a view rule. Otherwise, you print the rule. regards, tom lane
В списке pgsql-hackers по дате отправления: