Re: Bytea string operator support

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Bytea string operator support
Дата
Msg-id Pine.LNX.4.30.0109121446040.694-100000@peter.localdomain
обсуждение исходный текст
Ответ на Bytea string operator support  ("Joe Conway" <joseph.conway@home.com>)
Ответы Re: Bytea string operator support  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Joe Conway writes:

> 2. Added PQescapeBytea to fe-exec.c

I'm not sure if we want to encode the peculiarities of particular data
types into the client libraries.  I could agree with adding a function
that supplies a general-purpose encoding such as base64 (not necessarily
preferred) which clients can use to feed data to the server.  In the
future we might want to support the SQL-standard input formats for binary
data types, which would require yet another round of functions to be added
to libpq.

After all, bytea is utterly non-standard, and if we make API extensions we
should consider them in the long run.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


В списке pgsql-patches по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Configuring fdatasync for Solaris2
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Bytea string operator support