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

Re: [PATCHES] DatabaseMetadata patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Mark Lillywhite <mark(at)inomial(dot)com>, PostgreSQL jdbc list <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: [PATCHES] DatabaseMetadata patch
Date: 2001-10-24 18:02:55
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> +          tuple[8] =
> +            Integer.toString((attypmod & 0xffff) - VARHDRSZ).getBytes();

In the backend sources, we subtract VARHDRSZ *first* and then AND with FFFF.
Not sure if this will ever yield a different result, but I'd say it
should be kept consistent ...

			regards, tom lane

In response to

pgsql-jdbc by date

Next:From: Guy McArthurDate: 2001-10-24 23:13:13
Subject: "No Suitable Driver"
Previous:From: Bruce MomjianDate: 2001-10-24 17:48:47
Subject: Re: [PATCHES] DatabaseMetadata patch

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