Re: text and bytea
От
hernan gonzalez
Тема
Re: text and bytea
Дата
Msg-id
48692c2d0802220754h5b05974crd3dd7e784d9fe640@mail.gmail.com
Ответ на
Re: text and bytea (Martijn van Oosterhout)
Список
Дерево обсуждения
text and bytea "hernan gonzalez" <hgonzalez@gmail.com>
Re: text and bytea Martijn van Oosterhout <kleptog@svana.org>
Re: text and bytea Alvaro Herrera <alvherre@commandprompt.com>
Re: text and bytea "hernan gonzalez" <hgonzalez@gmail.com>
Re: text and bytea Martijn van Oosterhout <kleptog@svana.org>
Re: text and bytea "hernan gonzalez" <hgonzalez@gmail.com>
Re: text and bytea Gregory Stark <stark@enterprisedb.com>
Re: text and bytea "hernan gonzalez" <hgonzalez@gmail.com>
Re: text and bytea Tom Lane <tgl@sss.pgh.pa.us>
Re: text and bytea "hernan gonzalez" <hgonzalez@gmail.com>
Re: text and bytea Tom Lane <tgl@sss.pgh.pa.us>
Re: text and bytea Bruce Momjian <bruce@momjian.us>
> It seems to me that postgres is trying to do as you suggest: text is > characters and bytea is bytes, like in Java. But the big difference is that, for text type, postgresql knows "this is a text" but doesnt know the encoding, as my example showed. This goes against the concept of "text vs bytes" distintion, which per se is very useful and powerful (specially in this Unicode world) and leads to a dubious/clumsy string api (IMHO, as always). > You don't indicate what > version you are using, this area was rejigged recently. > Sorry, I forget to say that my examples are for last version (8.3) Cheers -- Hernán J. González
В списке pgsql-general по дате отправления