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

Re: [BUGS]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Shra <shravan(at)yaskatech(dot)com>
Cc: "PostgreSQL- Development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [BUGS]
Date: 2002-04-27 15:07:28
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugspgsql-committerspgsql-hackers
Shra <shravan(at)yaskatech(dot)com> writes:
> [ where to get declared-length info for var-length columns ]

This is encoded in the atttypmod field (see PQfmod).  I'd recommend
using format_type() to decode the info, but if you don't mind possibly
having to change your code from time to time, you could just wire
knowledge of the interpretation of typmod into your code.

In future, kindly be more selective about the lists you cross-post to.
I generally make a practice of ignoring questions posted to the bugs
list, for example.

			regards, tom lane

In response to

  • at 2002-04-26 19:29:55 from Shra


pgsql-hackers by date

Next:From: Bruce MomjianDate: 2002-04-27 23:28:09
Subject: Vacation in May
Previous:From: Thomas LockhartDate: 2002-04-27 14:56:53
Subject: Mandrake 8.1 RPMs posted

pgsql-bugs by date

Next:From: ShraDate: 2002-04-29 06:20:25
Subject: MetaData (size of datatype)
Previous:From: medassistDate: 2002-04-27 09:11:00
Subject: problem with lo_import()

pgsql-committers by date

Next:From: Bruce Momjian - CVSDate: 2002-04-27 15:30:07
Subject: pgsql/src/backend/commands user.c
Previous:From: Tom LaneDate: 2002-04-27 03:45:03
Subject: pgsql/src backend/catalog/aclchk.c backend/cat ...

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