Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions include/pgduckdb/catalog/pgduckdb_transaction.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "duckdb/main/client_context.hpp"
#include "duckdb/main/client_context_state.hpp"
#include "duckdb/common/unordered_map.hpp"
#include "duckdb/transaction/transaction.hpp"
#include "pgduckdb/pg/declarations.hpp"

Expand All @@ -26,12 +27,12 @@ class SchemaItems {
private:
duckdb::string name;
duckdb::unique_ptr<PostgresSchema> schema;
duckdb::case_insensitive_map_t<duckdb::unique_ptr<PostgresTable>> tables;
duckdb::unordered_map<duckdb::string, duckdb::unique_ptr<PostgresTable>> tables;
};

class PostgresContextState : public duckdb::ClientContextState {
public:
duckdb::case_insensitive_map_t<SchemaItems> schemas;
duckdb::unordered_map<duckdb::string, SchemaItems> schemas;
void QueryEnd() override;
};

Expand Down