Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 446C4476887 for ; Fri, 6 Dec 2002 00:07:20 -0500 (EST) Received: from imf13bis.bellsouth.net (mail313.mail.bellsouth.net [205.152.58.173]) by postgresql.org (Postfix) with ESMTP id AB88347661D for ; Fri, 6 Dec 2002 00:06:13 -0500 (EST) Received: from endeavor ([65.80.184.73]) by imf13bis.bellsouth.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021206050808.TIGX19084.imf13bis.bellsouth.net@endeavor> for ; Fri, 6 Dec 2002 00:08:08 -0500 From: "Reggie Burnett" To: Subject: client interface docs Date: Thu, 5 Dec 2002 23:06:16 -0600 Message-ID: <000901c29ce5$3506ff10$4100a8c0@endeavor> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/17 X-Sequence-Number: 3430 I'm working on a new interface to PostgreSQL and having a difficult time. Perhaps someone here can shed some light on the subject. 1.=A0 Am I correct in thinking that the OID that I receive with the RowDescription is the column type?=A0 I have several of those defined from the 7.3 source code.=A0 Have those changed in the past and are they likely to change in the future?=A0 I have heard people talking about querying the server for type names or type oid values but I can't believe it is that difficult. 2.=A0 How do I receive the column modifers such as not null, primary key, indexed, etc.=A0 I know RowDescription sends down type modifiers but on an int4 column that field is always -1.=A0 I use another client app to change the column from allowing nulls to not allowing nulls (same value in column). The client app as well as psql on Linux sees the change but my interface still receives just -1 for the type modifier.=A0 What am I missing? If there is someplace that has the oids documented or the low-level constants documented, I would love to see that. Thanks Reggie