Commit ea8b3bc
Rewrite version() to return PostgreSQL-compatible string
PostgreSQL clients call SELECT version() to check database compatibility.
DuckDB's native version() returns "v1.1.0 ..." which doesn't match
PostgreSQL format and can't be overridden by macros.
This rewrites version() calls to return a PostgreSQL-compatible string:
"PostgreSQL 15.0 on x86_64-pc-linux-gnu, compiled by gcc, 64-bit (Duckgres/DuckDB)"
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 05e78d3 commit ea8b3bc
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| 367 | + | |
| 368 | + | |
367 | 369 | | |
368 | 370 | | |
369 | 371 | | |
| |||
554 | 556 | | |
555 | 557 | | |
556 | 558 | | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
557 | 563 | | |
558 | 564 | | |
559 | 565 | | |
0 commit comments