Re: hstore: null value is treated as empty string by avals function - Mailing list pgsql-bugs

From Itagaki Takahiro
Subject Re: hstore: null value is treated as empty string by avals function
Date
Msg-id AANLkTik_Eatm8p6PBAvG70e-Ezj=p7+sPD4nyvcJxmTY@mail.gmail.com
Whole thread Raw
In response to hstore: null value is treated as empty string by avals function  (Alexey Bashtanov <bashtanov@nasvete.ru>)
Responses Re: hstore: null value is treated as empty string by avals function
List pgsql-bugs
On Mon, Sep 27, 2010 at 2:36 PM, Alexey Bashtanov <bashtanov@nasvete.ru> wr=
ote:
> hstore: null value is treated as empty string by avals function
>
> # select avals('gfds'=3D>null) =3D array[null], avals('gfds'=3D>null) =3D
> array[''], version();
> =C2=A0?column? | ?column? |
> =C2=A0 =C2=A0version
> ----------+----------+---------------------------------------------------=
---------------------------------------------------------------
> =C2=A0f =C2=A0 =C2=A0 =C2=A0 =C2=A0| t =C2=A0 =C2=A0 =C2=A0 =C2=A0| Postg=
reSQL 8.4.4 on x86_64-redhat-linux-gnu,
> compiled by GCC gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46), 64-bit
> (1 row)
>
> got f,t
> expected t,f
> hope the problem is clear

I found 9.0 and 9.1dev returns t,f as expected.
Is it an incompatibility between 8.4 and 9.0?

--=20
Itagaki Takahiro

pgsql-bugs by date:

Previous
From: Craig Ringer
Date:
Subject: Re: BUG #5679: pgAdminIII 1.12.0 hangs
Next
From: Itagaki Takahiro
Date:
Subject: Re: BUG #5674: initdb failed if path contains symlink