Re: [GENERAL] losing schema name in pg_dump

2012-05-20 Thread c k
I have two tables software.orders and software.products. I created two views. CREATE OR REPLACE VIEW software.o1 AS SELECT orders.orderid, orders.productid, orders.amount FROM software.orders; CREATE OR REPLACE VIEW software.o2 AS SELECT o1.orderid, o1.productid, o1.amount, products.productn

[GENERAL] losing schema name in pg_dump

2012-05-20 Thread c k
Hi all, Many times I have to dump all objects from a schema (single schema holding only functions and views) in plain text format. It is found that pg_dump includes a set search_path statement at the beginning and drops all occurrences of the schema name (to which dumped object belongs) from funct