Skip to content

Commit e3d43fe

Browse files
glynastilldf7cb
authored andcommitted
Change the way tables are quoted in replicate_row.
Change the way tables are quoted in replicate_row to allow for tables with schema name.
1 parent c2d15da commit e3d43fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_postgres.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6149,7 +6149,7 @@ sub check_replicate_row {
61496149
my ($table,$pk,$id,$col,$val1,$val2) = (@repinfo);
61506150

61516151
## Quote everything, just to be safe (e.g. columns named 'desc')
6152-
$table = qq{"$table"};
6152+
$table =~ s/([^\.]+)/\"$1\"/g;
61536153
$pk = qq{"$pk"};
61546154
$col = qq{"$col"};
61556155

0 commit comments

Comments
 (0)