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.
Currently, we allow users to create their own
INpgsqlDatabaseInfoFactoryto modify the postgres types they load and database capabilities.Unfortunately, it's impossible to send queries via provided
NpgsqlConnector.CreateComanddue to us setting connector's state toExecutingbefore callingINpgsqlDatabaseInfoFactory.Load, which disallows sending any queries until the state is changed toReady.As a fix, we should push
NpgsqlConnector.StartUserActiondown toPostgresDatabaseInfo.LoadPostgresInfo, where it's actually needed.