From: | Philip Warner <pjw(at)rhyme(dot)com(dot)au> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Mark Hollomon <mhh(at)mindspring(dot)com> |
Subject: | Re: Dumping views as views? |
Date: | 2000-09-15 01:01:24 |
Message-ID: | 3.0.5.32.20000915110124.028007d0@mail.rhyme.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
At 11:45 14/09/00 -0400, Tom Lane wrote:
>Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
>> - when getting table info, also call pg_get_viewdef (which returns 'not a
>> view' for non-view relations).
>
>Huh? Just use the relkind to detect views.
Sorry; what the above means is that I will get the views when I get the
tables, and call 'pg_get_viewdef' in all cases. I will check relkind when I
come to dump the 'table'.
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/
From | Date | Subject | |
---|---|---|---|
Next Message | Philip Warner | 2000-09-15 01:22:01 | Re: pg_dump of regression (again) |
Previous Message | Hiroshi Inoue | 2000-09-15 00:19:34 | RE: Status of new relation file naming |