Hello,
I have been wrestling with pg_dump.
PG_DUMP ISSUE #1
Has anyone got -T option to work on 8.x of PostgreSQL? I can't get this to work.
-T option is supposed to exclude any specified table from your pg_dump output. Example script...
pg_dump mydatabase -n myschema -T mytable1 -U myuser > mytextfile.bak
Has anyone got this to work? I don't know if I am doing anything wrong and am trying to follow the documentation.
PG_DUMP ISSUE #2
Has anyone had problems generating a pg_dump where the primary key constraint was missing from one of your tables, but in the source database, the primary key is there?
PG_DUMP ISSUE #3
Has anyone had a problem where you did a restore from a PG_DUMP script with trigger functions that failed to work after import? I am getting an error that the function is failing, but when I resubmit the trigger function to the system, it works fine.
Gary
gwinn7
I have been wrestling with pg_dump.
PG_DUMP ISSUE #1
Has anyone got -T option to work on 8.x of PostgreSQL? I can't get this to work.
-T option is supposed to exclude any specified table from your pg_dump output. Example script...
pg_dump mydatabase -n myschema -T mytable1 -U myuser > mytextfile.bak
Has anyone got this to work? I don't know if I am doing anything wrong and am trying to follow the documentation.
PG_DUMP ISSUE #2
Has anyone had problems generating a pg_dump where the primary key constraint was missing from one of your tables, but in the source database, the primary key is there?
PG_DUMP ISSUE #3
Has anyone had a problem where you did a restore from a PG_DUMP script with trigger functions that failed to work after import? I am getting an error that the function is failing, but when I resubmit the trigger function to the system, it works fine.
Gary
gwinn7