Received: from candle.pha.pa.us (root@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.8.8/8.7.5) with ESMTP id NAA08245; Tue, 28 Apr 1998 13:01:47 -0400 (EDT) Received: (from maillist@localhost) by candle.pha.pa.us (8.8.5/8.8.5) id MAA19492; Tue, 28 Apr 1998 12:42:51 -0400 (EDT) From: Bruce Momjian Message-Id: <199804281642.MAA19492@candle.pha.pa.us> Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes To: tgl@sss.pgh.pa.us (Tom Lane) Date: Tue, 28 Apr 1998 12:42:51 -0400 (EDT) Cc: pgsql-hackers@postgreSQL.org, pgsql-interfaces@postgreSQL.org In-Reply-To: <7040.893780515@sss.pgh.pa.us> from "Tom Lane" at Apr 28, 98 12:21:55 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > 2. The RowDescription ('T') message is extended by adding a new value > for each field. Just after the type-size value, there will now be > an int16 "atttypmod" value. (Would someone provide text specifying > exactly what this value means?) libpq will store this value in > a new "adtmod" field of PGresAttDesc structs. From src/include/catalog/pg_attribute.h: /* * atttypmod records type-specific modifications supplied at table * creation time, and passes it to input and output functions as the * third argument. */ Currently only used for char() and varchar(), and includes a 4-byte header. -- Bruce Momjian | 830 Blythe Avenue maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (610) 353-9879(w) + Christ can be your backup. | (610) 853-3000(h)