FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

inserttable: remove arbitrary buffer limit (solves #79) by Cito · Pull Request #91 · PyGreSQL/PyGreSQL · GitHub

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 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 merged commit e60f78f into main Jan 2, 2026
30 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL