Re: [GENERAL] null tablespace?

2011-12-15 Thread Tony Capobianco
directory')||'/base' when > 'pg_global' then (select setting from pg_settings where name = > 'data_directory')||'/global' else spclocation end from pg_tablespace; > > > > > --- > Regards, > Raghavendra > EnterpriseDB

[GENERAL] null tablespace?

2011-12-15 Thread Tony Capobianco
I have not defined my default tablespace: show default_tablespace ; default_tablespace However, I have tables with null tablespaces values in pg_tables: pg_dw=# select * from pg_tables where tablename = 'source_prev'; schemaname | tablename | tableowner | tab

[GENERAL] pg_dump -n switch lock schema from dml/ddl?

2011-11-10 Thread Tony Capobianco
I'm testing out various pg_dump scenarios using the -n switch and I have a few questions: - When using the -n switch, is the whole schema locked from all non-read DML/DDL operations? - If the whole schema is locked, once each table is dumped, is it then released for non-read DML/DDL operations?

Re: [GENERAL] pg_dump schma while excluding specific table

2011-11-03 Thread Tony Capobianco
BINGO! Thanks everyone. That did the trick! On Thu, 2011-11-03 at 12:56 -0700, Ioana Danes wrote: > > > > > pg_dump newdb > /DUMPDIR/newdb.dmp -n dev -T corgi -w -v -F c 2> > > /DUMPDIR/newdb.log > > > > Try: -T dev.corgi instead of -T corgi > > -- Sent via pgsql-general mailing list

Re: [GENERAL] pg_dump schma while excluding specific table

2011-11-03 Thread Tony Capobianco
I'm using 9.0.3. I've tried several permutations of this script and still I get a dump of the entire schema. The corgi table is still included when I need it excluded. On Thu, 2011-11-03 at 12:02 -0700, Adrian Klaver wrote: > On Thursday, November 03, 2011 8:16:42 am Tony Cap

[GENERAL] pg_dump schma while excluding specific table

2011-11-03 Thread Tony Capobianco
When I issue: pg_dump newdb > /DUMPDIR/newdb.dmp -n dev -T corgi -w -v -F c 2> /DUMPDIR/newdb.log I get a dump of the entire dev schema. My goal is to dump the dev schema minus the corgi table. How can I adjust my script to perform this function? Thanks. -- Sent via pgsql-general mailing l

Re: [GENERAL] pgloader hangs with an invalid filename

2011-08-15 Thread Tony Capobianco
I'm running pgloader 2.3.2 and Postgres 9. Is there an upgraded version of pgloader on the PgFoundry site? On Mon, 2011-08-15 at 20:34 +0200, Dimitri Fontaine wrote: > Tony Capobianco writes: > > Has anyone experienced the behavior of pgloader hanging when the .conf > > f

[GENERAL] pgloader hangs with an invalid filename

2011-05-06 Thread Tony Capobianco
Has anyone experienced the behavior of pgloader hanging when the .conf file has an incorrect filename? When I execute with the correct filename, everything works just fine. However, when I use an incorrect filename, I get the below: PG_DB> pgloader -c hangs.pgload.conf -v pgloader INFO Log