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

SetMaxFieldSize

From: Kim Ho <kho(at)redhat(dot)com>
To: pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: SetMaxFieldSize
Date: 2003-07-31 19:37:56
Message-ID: 1059680276.4717.68.camel@yay-lap (view raw or flat)
Thread:
Lists: pgsql-jdbc
Implemented, but not very pretty.

I'm wondering if someone can show me a better way of doing the
getSQLType().

Because the getSQLType() method eventually calls getString() again and
then it throws it into infinite recursion, so I had to do it in a pretty
messy way.

If anyone can give me some pointers, much appreciated.

Cheers,

Kim

Attachment: setMaxFieldSize.diff
Description: text/x-patch (7.7 KB)

Responses

pgsql-jdbc by date

Next:From: Bruce MomjianDate: 2003-07-31 19:59:43
Subject: Re: SSL support in PG 7.4
Previous:From: Rich CullingfordDate: 2003-07-31 19:03:17
Subject: SSL support in PG 7.4

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