X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id CB80BD1DF8C for ; Tue, 16 Mar 2004 09:28:47 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 78317-05 for ; Tue, 16 Mar 2004 05:28:47 -0400 (AST) Received: from mail1.sistecs.de (unknown [80.190.135.134]) by svr1.postgresql.org (Postfix) with ESMTP id 622D4D1DC72 for ; Tue, 16 Mar 2004 05:28:44 -0400 (AST) Received: from [217.228.229.97] (helo=BARCELONA) by mail1.sistecs.de with asmtp (Exim 3.34 #4 (Debian)) id 1B3ArE-0006Wa-00 for ; Tue, 16 Mar 2004 10:27:32 +0100 From: "Jan Klostermann" To: Subject: DataType OID for PQexecParams-call in libpq Date: Tue, 16 Mar 2004 10:28:58 +0100 Message-ID: <001601c40b39$1c7f9060$f564a8c0@BARCELONA> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.2 tagged_above=0.0 required=5.0 tests=BAYES_40, RCVD_IN_NJABL, RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200403/12 X-Sequence-Number: 4791 Hello all! I would be very thankful, if you could help me out! To call the PQexecParams() function I need to provide a field with the data types of the parameters as type OID. OID is a number, but which numbers correspond to with datatype ? Where are they documented? Or how can I find out about this data type codes? I scanned trough almost the whole documentation but could not find anything. The examples just skip the problem by using simple strings and auto-detection. Any help would be very appreciated! Thanks in advance. Jan Klostermann