Re: [GENERAL] CentOS 7.3, PostgreSQL 9.6.2, PHP 5.4 deliver array asstring - Mailing list pgsql-general

From Adrian Klaver
Subject Re: [GENERAL] CentOS 7.3, PostgreSQL 9.6.2, PHP 5.4 deliver array asstring
Date
Msg-id 1dc62ea0-808b-1dc5-3b41-4877cdbab6e8@aklaver.com
Whole thread Raw
In response to Re: [GENERAL] CentOS 7.3, PostgreSQL 9.6.2, PHP 5.4 deliver array as string  (Alexander Farber <alexander.farber@gmail.com>)
List pgsql-general
On 03/02/2017 01:30 PM, Alexander Farber wrote:
> Adrian, but the stored function works, I am just not happy that the
> results are casted to strings by PHP... and wonder hpw to fix or
> workaround this.

So what is the result when you run the function in psql?

Also if I am following correctly should this:

   $bid     = $row['bid'];
                 $letters = $row['letters'];
                 $values  = $row['values']

not be?:

   $bid     = $row['out_bid'];
                 $letters = $row['out_letters'];
                 $values  = $row['out_values']
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: [GENERAL] CentOS 7.3, PostgreSQL 9.6.2, PHP 5.4 deliver array as string
Next
From: Zach Walton
Date:
Subject: Re: [GENERAL] Understanding pg_last_xlog_receive_location