Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67847 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75400 invoked from network); 26 Jun 2013 08:12:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jun 2013 08:12:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.169 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 209.85.217.169 mail-lb0-f169.google.com Received: from [209.85.217.169] ([209.85.217.169:60316] helo=mail-lb0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/32-60917-672AAC15 for ; Wed, 26 Jun 2013 04:12:39 -0400 Received: by mail-lb0-f169.google.com with SMTP id d10so1334684lbj.14 for ; Wed, 26 Jun 2013 01:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=vsfIZ0SxMVKoFy5UyPbpAdaUPp+0nvPqSpXY+Ssc/eY=; b=uvHj9WOm4a8+QUO9oA0187ty2DZlejDJDnXHYICEgEMLtyxnMedouiGecDEvZK3CBf erYemmDCk3ZlXPNoBdo1Ojkd8EE9j8hgbwL2E7+ekygGh2bzcBLCHpQeg0Mn0IVYgMrH V0SXRIp0rTA9iVGFxRea/d+2hc8rfo40hrZSQh22tixREx5RuFdMAOpvWP18cZIpuqtd SKCn98sKAG3qYbt3RfA2kWFbMfAKbpUBHafLb+RsZi2jVS+9hiuU9iCqMhIIA0qUe04r lQR+apx2QXEk3pcvVh76keQRKUqhjhzv6LkSen/LD9UwersmbAbfJMs4zl03SSt56vii 2iIQ== MIME-Version: 1.0 X-Received: by 10.112.42.44 with SMTP id k12mr1564461lbl.63.1372234355836; Wed, 26 Jun 2013 01:12:35 -0700 (PDT) Sender: mike.php.net@gmail.com Received: by 10.114.184.47 with HTTP; Wed, 26 Jun 2013 01:12:35 -0700 (PDT) In-Reply-To: References: Date: Wed, 26 Jun 2013 10:12:35 +0200 X-Google-Sender-Auth: gKAz0TFz8agc0eFhqAO8EqJXnZA Message-ID: To: Yasuo Ohgaki , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] pgsql: Binary data support improvement From: mike@php.net (Michael Wallner) Sorry, missed the list... On 26 June 2013 09:54, Yasuo Ohgaki wrote: > Hi Make, > > 2013/6/26 Michael Wallner >> >> 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