Search Postgresql Archives

How to get details about referential integrity violations?

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

 



Hi,

is there a way to get the name of the two tables involved
in a referential integrity violation via jdbc?

Up to version 7.3 it was possible to get the names by
parsing the error message of the SQLException.

However, some information has moved to the DETAIL line.
Can this line be retrieved via jdbc or is there even an
API to get the table names?

Kind regards,

Hans


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[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