Skip to content

Commit

Permalink
Fix error message to mention the correct GUC
Browse files Browse the repository at this point in the history
  • Loading branch information
JelteF committed Feb 24, 2025
1 parent 05e42f0 commit e54967e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pgduckdb_ruleutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ pgduckdb_get_tabledef(Oid relation_oid) {
} else if (!pgduckdb::IsMotherDuckPostgresDatabase()) {
elog(ERROR, "MotherDuck tables must be created in the duckb.motherduck_postgres_database");
} else if (relation->rd_rel->relowner != pgduckdb::MotherDuckPostgresUser()) {
elog(ERROR, "MotherDuck tables must be created by the duckb.motherduck_postgres_user");
elog(ERROR, "MotherDuck tables must be created by the duckb.postgres_role");
}

appendStringInfo(&buffer, "TABLE %s (", relation_name);
Expand Down

0 comments on commit e54967e

Please sign in to comment.