Commit 1cff5e8
Add PostgreSQL-compatible version() function
PostgreSQL clients call SELECT version() to check database compatibility.
DuckDB's native version() returns "v1.1.0 ..." which doesn't match
PostgreSQL format. This adds a macro that overrides version() 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 004d82e commit 1cff5e8
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
273 | 276 | | |
274 | 277 | | |
275 | 278 | | |
| |||
0 commit comments