Skip to content

Commit

Permalink
Engine changes
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Lunagariya <[email protected]>
  • Loading branch information
HarshLunagariya committed Feb 14, 2024
1 parent fbe8f28 commit 8fd2d4d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/bin/pg_dump/dump_babel_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,8 @@ addFromClauseForLogicalDatabaseDump(PQExpBuffer buf, TableInfo *tbinfo)
fmtQualifiedDumpable(tbinfo), bbf_db_id);
}
else if (strcmp(tbinfo->dobj.name, "babelfish_view_def") == 0 ||
strcmp(tbinfo->dobj.name, "babelfish_extended_properties") == 0)
strcmp(tbinfo->dobj.name, "babelfish_extended_properties") == 0 ||
strcmp(tbinfo->dobj.name, "babelfish_schema_permissions") == 0)
appendPQExpBuffer(buf, " FROM ONLY %s a WHERE a.dbid = %d",
fmtQualifiedDumpable(tbinfo), bbf_db_id);
else if (strcmp(tbinfo->dobj.name, "babelfish_function_ext") == 0)
Expand Down Expand Up @@ -1121,7 +1122,8 @@ addFromClauseForPhysicalDatabaseDump(PQExpBuffer buf, TableInfo *tbinfo)
strcmp(tbinfo->dobj.name, "babelfish_function_ext") == 0 ||
strcmp(tbinfo->dobj.name, "babelfish_view_def") == 0 ||
strcmp(tbinfo->dobj.name, "babelfish_server_options") == 0 ||
strcmp(tbinfo->dobj.name, "babelfish_extended_properties") == 0)
strcmp(tbinfo->dobj.name, "babelfish_extended_properties") == 0 ||
strcmp(tbinfo->dobj.name, "babelfish_schema_permissions") == 0)
appendPQExpBuffer(buf, " FROM ONLY %s a",
fmtQualifiedDumpable(tbinfo));
else
Expand Down

0 comments on commit 8fd2d4d

Please sign in to comment.