On Wed, Aug 17, 2011 at 10:06, Andrew Dunstan wrote:
>
>
> On 08/12/2011 09:17 PM, Alex Hunsaker wrote:
>
> [empty arrays returned are not handled correctly]
>
>>
>> Anyway, the attached patch fixes it for me. That is when we don't have
>> an array state, just return an empty array. (Also adds so
On Aug 17, 2011, at 9:06 AM, Andrew Dunstan wrote:
> [empty arrays returned are not handled correctly]
>
>> Anyway, the attached patch fixes it for me. That is when we don't have
>> an array state, just return an empty array. (Also adds some
>> additional comments)
>
> Applied, thanks.
Awesome
On 08/12/2011 09:17 PM, Alex Hunsaker wrote:
[empty arrays returned are not handled correctly]
Anyway, the attached patch fixes it for me. That is when we don't have
an array state, just return an empty array. (Also adds some
additional comments)
Applied, thanks.
cheers
andrew
--
Sent
On fre, 2011-08-12 at 20:09 -0700, Darren Duncan wrote:
> David E. Wheeler wrote:
> > On Aug 12, 2011, at 6:17 PM, Alex Hunsaker wrote:
> >> Anyway, the attached patch fixes it for me. That is when we don't have
> >> an array state, just return an empty array. (Also adds some
> >> additional comme
David E. Wheeler wrote:
On Aug 12, 2011, at 6:17 PM, Alex Hunsaker wrote:
Anyway, the attached patch fixes it for me. That is when we don't have
an array state, just return an empty array. (Also adds some
additional comments)
Fix confirmed, thank you!
+1 to getting this committed before the
On Aug 12, 2011, at 6:17 PM, Alex Hunsaker wrote:
> Anyway, the attached patch fixes it for me. That is when we don't have
> an array state, just return an empty array. (Also adds some
> additional comments)
Fix confirmed, thank you!
+1 to getting this committed before the next beta/RC.
David
On Fri, Aug 12, 2011 at 18:00, David E. Wheeler wrote:
> Hackers,
>
> Given this script on 9.1beta3:
>
> BEGIN;
>
> CREATE EXTENSION plperl;
>
> CREATE OR REPLACE FUNCTION wtf(
> ) RETURNS TEXT[] LANGUAGE plperl AS $$ return []; $$;
>
> SELECT wtf() = '{}'::TEXT[];
> Why is that? I
Hackers,
Given this script on 9.1beta3:
BEGIN;
CREATE EXTENSION plperl;
CREATE OR REPLACE FUNCTION wtf(
) RETURNS TEXT[] LANGUAGE plperl AS $$ return []; $$;
SELECT wtf() = '{}'::TEXT[];
ROLLBACK;
The output is:
BEGIN
CREATE EXTENSION
CREATE FUNCTION