sql: cannot do schema operations on a database different from the session's database #54295
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Unlike other commands in the database, you can't make or reference a schema inside of a database that isn't the one that your session is attached to. Repro:
I'd expect that the latter statement work okay. This is also a problem for every other command that references a schema, such as ALTER TABLE SET SCHEMA, ALTER SCHEMA, DROP SCHEMA, etc.
The text was updated successfully, but these errors were encountered: