Skip to content

Allow sending queries from INpgsqlDatabaseInfoFactory.Load #6633

Description

@vonzshik

Currently, we allow users to create their own INpgsqlDatabaseInfoFactory to modify the postgres types they load and database capabilities.
Unfortunately, it's impossible to send queries via provided NpgsqlConnector.CreateComand due to us setting connector's state to Executing before calling INpgsqlDatabaseInfoFactory.Load, which disallows sending any queries until the state is changed to Ready.
As a fix, we should push NpgsqlConnector.StartUserAction down to PostgresDatabaseInfo.LoadPostgresInfo, where it's actually needed.

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions