PL/TCLu Function Waiting for External Java/JDBC Application
В списке pgsql-novice по дате отправления:
| От | Pat Pascal |
|---|---|
| Тема | PL/TCLu Function Waiting for External Java/JDBC Application |
| Дата | |
| Msg-id | 1336692814.10166.151.camel@localhost.localdomain обсуждение исходный текст |
| Список | pgsql-novice |
I am having what appears to be a deadlock in a client application (i.e. psql) when I use it to query a PL/TCLu function that invokes a Java application which then uses JDBC to perform a number of queries back to the same database from where the PL/TCLu function was queried. It may be convoluted, but is this not allowed/supported in Postgresql? Since the invoked Java application is a separate process outside the database, can it not have it's query request satisfied while the the initial client's query request (which selected the PL/TCL function) is still not complete? (Note that the Java application appears to be hanging in it's first query on the database, so it doesn't exit to let the PL/TCL function complete.) I am using Postgresql 8.2 and Java 1.6.0_18. Note that I am NOT able to use PL/Java and move the Java application inside the database as a function (assuming that would solve the problem). Thanks for any help. Pat
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера