Commit f113f92
fix: convert memoryview to bytes for PostgreSQL blob unpacking
psycopg2 returns bytea columns as memoryview objects, which lack the
startswith() method needed by the blob decompression code. Convert to
bytes at the start of unpack() for compatibility.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent c795c3a commit f113f92
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | 156 | | |
154 | 157 | | |
| |||
0 commit comments