public void WithoutPersistSecurityInfo()
{
var csb = new NpgsqlConnectionStringBuilder(ConnectionString) { Pooling = false };
using (var conn = OpenConnection(csb))
{
conn.ExecuteNonQuery("CREATE TEMP TABLE data (id INT)");
using (var cmd = new NpgsqlCommand("SELECT id FROM data", conn))
using (var reader = cmd.ExecuteReader(CommandBehavior.KeyInfo))
reader.GetSchemaTable();
}
}
}