Committed by Greg Sabino Mullane <[email protected]>

Oops, things are coming back here as t/f

---
 dbdimp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dbdimp.c b/dbdimp.c
index 4c2b079..c9b37e6 100644
--- a/dbdimp.c
+++ b/dbdimp.c
@@ -2751,10 +2751,10 @@ static SV * pg_destringify_array(pTHX_ imp_dbh_t 
*imp_dbh, unsigned char * input
                                        av_push(currentav, 
newSVnv(SvNV(sv_2mortal(newSVpvn(string,section_size)))));
                                else if (3 == coltype->svtype) {
                                        if (imp_dbh->pg_bool_tf) {
-                                               av_push(currentav, newSVpv('1' 
== *string ? "t" : "f", 0));
+                                               av_push(currentav, newSVpv('t' 
== *string ? "t" : "f", 0));
                                        }
                                        else
-                                               av_push(currentav, newSViv('1' 
== *string ? 1 : 0));
+                                               av_push(currentav, newSViv('t' 
== *string ? 1 : 0));
                                }
                                else {
                                        // Bytea gets special dequoting
-- 
1.8.4

Reply via email to