Skip site navigation (1) Skip section navigation (2)

Re: Bytea string operator support

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Joe Conway <joseph(dot)conway(at)home(dot)com>, <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Bytea string operator support
Date: 2001-09-13 23:58:05
Message-ID: Pine.LNX.4.30.0109140156170.680-100000@peter.localdomain (view raw, whole thread or download thread mbox)
Lists: 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(at)gmx(dot)net

In response to


pgsql-patches by date

Next:From: Thomas O'DowdDate: 2001-09-14 10:09:16
Subject: Re: Patch to add bytea support to JDBC
Previous:From: Peter EisentrautDate: 2001-09-13 18:10:31
Subject: Re: SQLCODE==-209

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group