Message-ID: From: "gabriellestein (@gabriellestein)" To: "postgresql-interfaces/psqlodbc" Date: Mon, 14 Jul 2025 19:28:36 +0000 Subject: [postgresql-interfaces/psqlodbc] issue #132: Crash seen when attempting to use SetPos when looping through more than 20480 rows List-Id: X-GitHub-Author-Id: 59923724 X-GitHub-Author-Login: gabriellestein X-GitHub-Issue: 132 X-GitHub-Repo: postgresql-interfaces/psqlodbc X-GitHub-State: open X-GitHub-Type: issue X-GitHub-Url: https://github.com/postgresql-interfaces/psqlodbc/issues/132 Content-Type: text/plain; charset=utf-8 When looping through the rows in a table with more than 20480 rows using SetPos delete, the driver crashes with a segmentation fault (core dump). I have attached to this issue in a zip file: - odbcquery_setpos_del_lax: ODBC app that can be used to recreate the issue - odbcquery_setpos_del_lax.c: c file use to make the ODBC app. - odbcquery_setpos_del.mak: Makefile to build ODBC app. Note that the directory paths to the install directory have been redacted. - odbc.ini: ODBC ini file. Note the paths and sensitive information has been redacted. If anything else is needed please let me know. [odbcquery_setpos_del.zip](https://github.com/user-attachments/files/21221461/odbcquery_setpos_del.zip)