I'm working on an update to contrib/dblink which would allow INSERT/UPDATE/DELETE statements in addition to SELECT statements against a remote database. In the current version, only SELECT is possible because the SQL statement passed to the function gets "DECLARE mycursor CURSOR FOR " appended to the front of it, and the result set is obtained with "res = PQexec(conn, "FETCH ALL in mycursor");". My question is, what is the downside (if any) of eliminating the use of a cursor in this context? I have locally made the changes, and don't see any negative impact. I'd appreciate any thoughts. Thanks, Joe
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера