You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sdavids
changed the title
[Enhancement]: Support running init script running against a specific database
[Enhancement]: Support running init script against a specific database
May 15, 2024
Module
PostgreSQL
Proposal
init.sql
does not work because the Postgres JDBC driver does not support the
\c
psql meta-command to switch databases.This is similar to #7680 and its predecessors #2578, #1997, and #2232.
But in this use case one would would need to specify the database in addition to the init script path.
Something along the lines of:
Note:
will auto-create the
example
database but the DDL above would be in reality more complex like:The text was updated successfully, but these errors were encountered: