Re: Dumping views as views?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org, Mark Hollomon <mhh(at)mindspring(dot)com>
Subject: Re: Dumping views as views?
Date: 2000-09-14 15:45:27
Message-ID: 14114.968946327@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephan Szabo 2000-09-14 16:02:19 Re: Show triggers in psql?
Previous Message Tom Lane 2000-09-14 15:44:29 Re: pg_dump of regression (again)