Re: Dumping views as views?
От | Philip Warner |
---|---|
Тема | Re: Dumping views as views? |
Дата | |
Msg-id | 3.0.5.32.20000915110124.028007d0@mail.rhyme.com.au обсуждение исходный текст |
Ответ на | Re: Dumping views as views? (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
At 11:45 14/09/00 -0400, Tom Lane wrote: >Philip Warner <pjw@rhyme.com.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 |/
В списке pgsql-hackers по дате отправления: