Skip to content

inserttable: remove arbitrary buffer limit (solves #79) - #91

Merged
Cito merged 1 commit into
mainfrom
insert-table-with-dynamic-buffer
Jan 2, 2026
Merged

inserttable: remove arbitrary buffer limit (solves #79)#91
Cito merged 1 commit into
mainfrom
insert-table-with-dynamic-buffer

Conversation

@Cito

@Cito Cito commented Jan 2, 2026

Copy link
Copy Markdown
Member

This PR is inteded to solve issue #79.

It essentially merges the implementation provided by Justin Pryzby here.

I made a few changes to adapt naming conventions and use of PyMem functions instead of Std C Lib malloc. Also, the code now checks the error flag and avoids touching the buffer it if is set. Memory is only freed at the very end, independent of a possible error.

Implementation by Justin Pryzby.
Minor changes by Christoph Zwerschke.
@Cito
Cito merged commit e60f78f into main Jan 2, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant