Skip to content

Commit c181fb3

Browse files
glynastillmartinmarques
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 01ec35c commit c181fb3

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
@@ -6200,7 +6200,7 @@ sub check_replicate_row {
62006200
my ($table,$pk,$id,$col,$val1,$val2) = (@repinfo);
62016201

62026202
## Quote everything, just to be safe (e.g. columns named 'desc')
6203-
$table = qq{"$table"};
6203+
$table =~ s/([^\.]+)/\"$1\"/g;
62046204
$pk = qq{"$pk"};
62056205
$col = qq{"$col"};
62066206

0 commit comments

Comments
 (0)