Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Rishabh Tanwar <[email protected]>
  • Loading branch information
ritanwar committed Sep 18, 2023
1 parent 9bbf95f commit 458ed13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/bin/pg_dump/dump_babel_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,8 @@ prepareForBabelfishDatabaseDump(Archive *fout, SimpleStringList *schema_include_
resetPQExpBuffer(query);

/*
* Find out initialize user of current Babelfish database.
* Find out initialize user of current Babelfish database
* which is essentially same as owner of the database.
*/
appendPQExpBufferStr(query, "SELECT r.rolname FROM pg_roles r "
"INNER JOIN pg_database d ON r.oid = d.datdba "
Expand Down Expand Up @@ -1315,7 +1316,7 @@ fixCopyCommand(Archive *fout, PQExpBuffer copyBuf, TableInfo *tbinfo, bool isFro
* Returns true if table in Babelfish Database is to be dumped with INSERT mode.
* Currently we dump tables with sql_variant columns with INSERT operations to
* correctly restore the metadata of the base datatype, which is not directly
* posible with COPY statements.
* possible with COPY statements.
*/
bool
bbfIsDumpWithInsert(Archive *fout, TableInfo *tbinfo)
Expand Down
4 changes: 2 additions & 2 deletions src/bin/pg_dump/dumpall_babel_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ executeQuery(PGconn *conn, const char *query)

/*
* getBabelfishInitUser
* Returns initialize user of currentl Babelfish database
* which is essentially same as owner of Babelfish database.
* Returns initialize user of current Babelfish database
* which is essentially same as owner of the database.
*/
static char *
getBabelfishInitUser(PGconn *conn)
Expand Down

0 comments on commit 458ed13

Please sign in to comment.