Skip to content

Ignore SET key = 'value' queries on PostgreSQL interface#416

Merged
houqp merged 1 commit intoroapi:mainfrom
crate-workbench:cratedb-fdw
Dec 8, 2025
Merged

Ignore SET key = 'value' queries on PostgreSQL interface#416
houqp merged 1 commit intoroapi:mainfrom
crate-workbench:cratedb-fdw

Conversation

@amotl
Copy link
Contributor

@amotl amotl commented Dec 7, 2025

Problem

CrateDB's built-in PostgreSQL JDBC FDW connector emits this SQL statement, which currently fails on ROAPI:

SET application_name = 'PostgreSQL JDBC Driver'

Solution

Ignore all SET key = 'value' queries, or, to be more precise, all queries starting with SET. Is it too harsh?

References

CrateDB's built-in PostgreSQL JDBC FDW connector emits this
SQL statement:

  SET application_name = 'PostgreSQL JDBC Driver'
@houqp houqp merged commit 4d649d7 into roapi:main Dec 8, 2025
8 checks passed
@amotl amotl mentioned this pull request Mar 22, 2026
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.

2 participants