Re: [GENERAL] Cross-schema view issue/question

2011-04-25 Thread Bosco Rama
Joshua Tolley wrote: > On Thu, Apr 14, 2011 at 07:33:17PM -0700, Bosco Rama wrote: >> 1) a function that removes/creates the views, etc in the 'xyz' schema >>that gets called as part of the replacement process for schema 'abc' >> >> 2) replacing the views, etc. with functions that r

Re: [GENERAL] Cross-schema view issue/question

2011-04-23 Thread Joshua Tolley
On Thu, Apr 14, 2011 at 07:33:17PM -0700, Bosco Rama wrote: > 1) a function that removes/creates the views, etc in the 'xyz' schema >that gets called as part of the replacement process for schema 'abc' > > 2) replacing the views, etc. with functions that return tables or >th

[GENERAL] Cross-schema view issue/question

2011-04-14 Thread Bosco Rama
Hi folks, We have a current DB on PG 8.4.7 on Ubuntu Server 10.04 LTS. This DB used to only have one schema and that schema was replaced on a regular schedule using a pg_dump/pg_restore process. The old schema was renamed to another name and the incoming schema and data replaced it in the DB. If