Hi All Continuing my research of Serializable transaction I wanted to conduct a test of running two querys expecting that the second query will return: "ERROR: Can't serialize access due to concurrent update" The only way I could check what is the last error was pg_last_error( $conn ) while it seems that pg_result_error( $res ) & pg_result_status( $res ) should be more reliable as they use the query result resource. But the main problem is that pg_query() return false on error so I cant use the returned value what make the little useless :( any one know some other way to intercept errors ? -------------------------- Canaan Surfing Ltd. Internet Service Providers Ben-Nes Michael - Manager Tel: 972-4-6991122 Fax: 972-4-6990098 http://sites.canaan.co.il --------------------------
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера