When right-clicking a PostgreSQL schema node and selecting "New Query", the schema dropdown in the editor toolbar was not pre-selected. Pass node.schema to createTab so the editor initializes with the correct schema.