Re: pgsql: Binary data support improvement

From: Date: Wed, 26 Jun 2013 08:12:35 +0000
Subject: Re: pgsql: Binary data support improvement
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-67847@lists.php.net to get a copy of this message
Sorry, missed the list... On 26 June 2013 09:54, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote: > Hi Make, > > 2013/6/26 Michael Wallner <mike@php.net> >> >> I didn't look at the code yet, but how do you know about binary format >> conventions of all possible types returned? > > Users can only specify if the result is returned as text or binary. i.e. > If a user set $binary_result to TRUE, then all results(fields) are returned > as binary. > > pgsql module does not care what binary is returned and users are > responsible for correct handling. Therefore, it's only useful for bytea > data type for almost all users. -- Regards, Mike

« previous php.internals (#67847) next »