Search Postgresql Archives

How to get schema name which violates fk constraint

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

 



FK violation erroro is displayed as

7/23503:ERROR: insert or update on table "summak" violates foreign key constraint "summak_kontonr_fkey1"
Key (kontonr)=(2421      ) is not present in table "konto".

I have large numbers of schemas all containing tables with same name.

How to determine schema name where error occurs?

Andrus.

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux