X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 050AA3A6140 for ; Tue, 7 Dec 2004 05:35:21 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38785-04 for ; Tue, 7 Dec 2004 05:35:18 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id AF15C3A614C for ; Tue, 7 Dec 2004 05:35:17 +0000 (GMT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.1/8.13.1) with ESMTP id iB75ZCPL029894 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 6 Dec 2004 22:35:15 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.1/8.13.1) with ESMTP id iB75ZCKi053308; Mon, 6 Dec 2004 22:35:12 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.1/8.13.1/Submit) id iB75ZCLv053307; Mon, 6 Dec 2004 22:35:12 -0700 (MST) (envelope-from mfuhr) Date: Mon, 6 Dec 2004 22:35:11 -0700 From: Michael Fuhr To: mario mora suarez Cc: postgresql Subject: Re: date type! Message-ID: <20041207053511.GA52311@winnie.fuhr.org> References: <20041207051945.13967.qmail@web20108.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041207051945.13967.qmail@web20108.mail.yahoo.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.002 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/16 X-Sequence-Number: 5187 On Mon, Dec 06, 2004 at 11:19:45PM -0600, mario mora suarez wrote: > some body knows how to convert a date type (in > postgresql) to binary data in C What kind of C code are you writing (client application using libpq, server-side function, etc.), how did you obtain the DATE variable in question, and how do you intend to use the binary version of it? -- Michael Fuhr http://www.fuhr.org/~mfuhr/