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 2BC45D1B541 for ; Thu, 23 Oct 2003 20:01:25 +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 25318-05 for ; Thu, 23 Oct 2003 17:00:55 -0300 (ADT) Received: from mail.netbcg.com (ip-216-46-80-134.dsl.ewr.megapath.net [216.46.80.134]) by svr1.postgresql.org (Postfix) with SMTP id DF712D1B520 for ; Thu, 23 Oct 2003 17:00:52 -0300 (ADT) Received: (qmail 21683 invoked from network); 23 Oct 2003 20:00:54 -0000 Received: from ip-216-46-80-134.dsl.ewr.megapath.net (HELO genesis) (216.46.80.134) by 0 with SMTP; 23 Oct 2003 20:00:54 -0000 From: "creid" To: Subject: LIBPQ Date: Thu, 23 Oct 2003 16:01:11 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=2.2 tagged_above=0.0 required=5.0 tests=BAYES_70, MSGID_GOOD_EXCHANGE X-Spam-Level: ** X-Archive-Number: 200310/43 X-Sequence-Number: 4532 Can anyone help me understand what it is I need to do to simply retrieve date and time columns into C variables that are readable. All other columns are come across successfully but the date and time. I have tried double to store the pg date and char[9] for time, among other typedef tries. My psotgres columns are defined as: mytime time, mydate date. Thanks C