check_postgres
check_postgres copied to clipboard
replicate_row need to be fixed
i tryed "replicate_row", and it was not able to perform the select because of redundant "" on table and column names. the following change fixed the issue:
6546 $table =~ s/([^.]+)/$1/g; instead of $table =~ s/([^.]+)/"$1"/g; 6547 $pk = qq{$pk}; instead of qq{"$pk"}; 6548 $col = qq{$col}; instead of qq{"$col"};
What column/tables were giving you problems? The quoting is generally safer, but we can perhaps have it not quote if you are already passing in a literal quoted version.