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

Re: Bytea string operator support

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
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-14 17:45:19
Message-ID: (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.

Agreed.  Let's add this now and start thinking about developing a
separate lib for 7.3.

  Bruce Momjian                        |
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-patches by date

Next:From: Bruce MomjianDate: 2001-09-14 17:46:37
Subject: Re: Bytea string operator support
Previous:From: Tomisław KityńskiDate: 2001-09-14 15:53:50
Subject: isNullable()

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