check_postgres icon indicating copy to clipboard operation
check_postgres copied to clipboard

replicate_row need to be fixed

Open amitca71 opened this issue 8 years ago • 1 comments

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"};

amitca71 avatar Sep 27 '16 10:09 amitca71

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.

turnstep avatar Sep 26 '17 23:09 turnstep