X-Original-To: pgsql-interfaces-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 5D9459FB256 for ; Wed, 2 Aug 2006 12:11:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 61356-05 for ; Wed, 2 Aug 2006 12:11:21 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id 207499FB252 for ; Wed, 2 Aug 2006 12:11:21 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.7/8.13.7) with ESMTP id k72FBH0u001218 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 2 Aug 2006 09:11:20 -0600 (MDT) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.6/8.13.6) with ESMTP id k72FBHSN053455; Wed, 2 Aug 2006 09:11:17 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.6/8.13.6/Submit) id k72FBGYb053454; Wed, 2 Aug 2006 09:11:16 -0600 (MDT) (envelope-from mfuhr) Date: Wed, 2 Aug 2006 09:11:16 -0600 From: Michael Fuhr To: gouse shaik Cc: pgsql-interfaces@postgresql.org Subject: Re: PGconn structure Message-ID: <20060802151116.GA53347@winnie.fuhr.org> References: <20060802060745.10921.qmail@web8709.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060802060745.10921.qmail@web8709.mail.in.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.342 tagged_above=0 required=5 tests=AWL, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/9 X-Sequence-Number: 6223 On Wed, Aug 02, 2006 at 07:07:45AM +0100, gouse shaik wrote: > I would like to know the structure of PGconn object of the libpq. I > have searched for this in libpq-fe.h header file. unfortunately there > they write "The contents of this struct are not supposed to be known to > applications". Are you just curious or are you trying to solve some problem? If the latter then using undocumented implementation details probably isn't the best way to do it. > where can I found the information related to the structure of the > PGconn structure. PGconn is defined by a typedef; search the header files for the structure it's defined to be. -- Michael Fuhr