Re: Bytea string operator support

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

> I agree this is type pollution into libpq but I don't see another option
> except having the user code this stuff into their application.  Maybe we
> need some type-handling library in the future were we can put all this
> stuff.  Maybe we can add this to libpq now and create a separate library
> when we need one.

We probably do.  After all, the strings you get are not really the most
optimal form, especially for numbers, dates, and booleans.  Looks at the
JDBC spec, they have getXXX for each data type.

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


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

Предыдущее
От: "Joe Conway"
Дата:
Сообщение: Re: Bytea string operator support
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Bytea string operator support