gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] database replication with bucardo


From: Slappinjohn
Subject: Re: [Gnumed-devel] database replication with bucardo
Date: Tue, 26 Jun 2012 07:04:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4



> I once attempted to root out those which didn't. I'm not
> sure I caught all of them. If you find any let me know and
> I'll fix that.
> 

select table_catalog, table_schema, table_name from
information_schema.tables where (table_catalog, table_schema,
table_name) not in (select table_catalog, table_schema, table_name from
information_schema.table_constraints where constraint_type not in
('primary key', 'unique')) and table_schema not in
('information_schema', 'pg_catalog') and table_type = 'base table';

above said: no

Marc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]