[BUGS] pg_restore -t table : can silently omit constraints

2009-04-28 Thread Erik Rijkers
(linux/Centos 5.2, postgres 84beta1, but also 8.3) Hello, I ran into a bug in pg_restore, where it silently omits to restore a constraint (here a primary key): (this is 8.4 beta 1, but the same occurs in 8.3) echo drop table if exists public.j; create table public.j (jnr integer

Re: [BUGS] pg_restore -t table : can silently omit constraints

2009-04-28 Thread Tom Lane
Erik Rijkers e...@xs4all.nl writes: I ran into a bug in pg_restore, where it silently omits to restore a constraint (here a primary key): pg_restore's notion of what -t means is very much more restricted than pg_dump's is. We might change this someday, but don't hold your breath (ie, it's a