postgresql-interfaces/psqlodbc GitHub issues and pull requests (mirror)  
help / color / mirror / Atom feed
[postgresql-interfaces/psqlodbc] issue #132: Crash seen when attempting to use SetPos when looping through more than 20480 rows
6+ messages / 2 participants
[nested] [flat]

* [postgresql-interfaces/psqlodbc] issue #132: Crash seen when attempting to use SetPos when looping through more than 20480 rows
@ 2025-07-14 19:28 "gabriellestein (@gabriellestein)" <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: gabriellestein (@gabriellestein) @ 2025-07-14 19:28 UTC (permalink / raw)
  To: postgresql-interfaces/psqlodbc <[email protected]>

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)

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [postgresql-interfaces/psqlodbc] issue #132: Crash seen when attempting to use SetPos when looping through more than 20480 rows
@ 2025-07-15 20:06 ` "davecramer (@davecramer)" <[email protected]>
  4 siblings, 0 replies; 6+ messages in thread

From: davecramer (@davecramer) @ 2025-07-15 20:06 UTC (permalink / raw)
  To: postgresql-interfaces/psqlodbc <[email protected]>

May I ask what version of psqlodbc you are using ?

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [postgresql-interfaces/psqlodbc] issue #132: Crash seen when attempting to use SetPos when looping through more than 20480 rows
@ 2025-07-17 13:26 ` "gabriellestein (@gabriellestein)" <[email protected]>
  4 siblings, 0 replies; 6+ messages in thread

From: gabriellestein (@gabriellestein) @ 2025-07-17 13:26 UTC (permalink / raw)
  To: postgresql-interfaces/psqlodbc <[email protected]>

This was tested against version 16. I will build the must up-to-date release in the repo (17.00.0006) and retest.
*Edit: I was just able to recreate against 17.00.0006.

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [postgresql-interfaces/psqlodbc] issue #132: Crash seen when attempting to use SetPos when looping through more than 20480 rows
@ 2025-08-27 18:44 ` "gabriellestein (@gabriellestein)" <[email protected]>
  4 siblings, 0 replies; 6+ messages in thread

From: gabriellestein (@gabriellestein) @ 2025-08-27 18:44 UTC (permalink / raw)
  To: postgresql-interfaces/psqlodbc <[email protected]>

Hello, is there any update on this issue?

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [postgresql-interfaces/psqlodbc] issue #132: Crash seen when attempting to use SetPos when looping through more than 20480 rows
@ 2025-08-29 21:07 ` "davecramer (@davecramer)" <[email protected]>
  4 siblings, 0 replies; 6+ messages in thread

From: davecramer (@davecramer) @ 2025-08-29 21:07 UTC (permalink / raw)
  To: postgresql-interfaces/psqlodbc <[email protected]>

Sorry, no, I'll try to have a look this week

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: [postgresql-interfaces/psqlodbc] issue #132: Crash seen when attempting to use SetPos when looping through more than 20480 rows
@ 2025-09-16 15:05 ` "davecramer (@davecramer)" <[email protected]>
  4 siblings, 0 replies; 6+ messages in thread

From: davecramer (@davecramer) @ 2025-09-16 15:05 UTC (permalink / raw)
  To: postgresql-interfaces/psqlodbc <[email protected]>

was unable to replicate this

```
Calling FetchScroll
End of result set. 20482 rows fetched.
```

^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2025-09-16 15:05 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-07-14 19:28 [postgresql-interfaces/psqlodbc] issue #132: Crash seen when attempting to use SetPos when looping through more than 20480 rows "gabriellestein (@gabriellestein)" <[email protected]>
2025-07-15 20:06 ` "davecramer (@davecramer)" <[email protected]>
2025-07-17 13:26 ` "gabriellestein (@gabriellestein)" <[email protected]>
2025-08-27 18:44 ` "gabriellestein (@gabriellestein)" <[email protected]>
2025-08-29 21:07 ` "davecramer (@davecramer)" <[email protected]>
2025-09-16 15:05 ` "davecramer (@davecramer)" <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox