I have a fix ready to go if I am able to open a pull request, I appreciate all
of your work and I know you are busy. If I could get some sort of response that
would be great as my current project is stalled. Thank you all so much.
diff --git a/Pg.pm b/Pg.pm
index 2839aab..80ae1c1 100644
--- a/Pg.pm
+++ b/Pg.pm
@@ -351,7 +351,10 @@ use 5.008001;
$dbh->set_err(1, 'last_insert_id needs at least a sequence or
table name');
return undef;
}
- my @args = ($table);
+ #if table includes double quotes, it would be paired up at this
point. we want to unpair it.
+ my $table_for_query = $table;
+ $table_for_query =~ s/["]{2}/"/g;
+ my @args = ($table_for_query);
my $schemawhere;
if (length $schema) {
# if given a schema, use that