plperl booleans - Mailing list pgsql-general

From Kevin Field
Subject plperl booleans
Date
Msg-id cb80939b-0904-4d83-9ddc-bed10615eaa4@s20g2000vbp.googlegroups.com
Whole thread Raw
List pgsql-general
When I use spi_prepare and spi_exec_prepared on a query that selects a
boolean value, it comes back as the text 't' or 'f', which in perl
both evaluate to true, so I have to either use perl to solve that or
cast to integer in the query, both of which options seem less than
elegant.  Is this a bug or is it by design?

pgsql-general by date:

Previous
From: inf200468@ucf.edu.cu
Date:
Subject: configurar el hba
Next
From: inf200468@ucf.edu.cu
Date:
Subject: configurar el hba