Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id E52DB1337B84 for ; Thu, 16 Dec 2010 12:23:14 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 87991-09 for ; Thu, 16 Dec 2010 16:23:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.esilo.com (ns1.esilo.com [63.150.152.211]) by mail.postgresql.org (Postfix) with ESMTP id 49EED1337B81 for ; Thu, 16 Dec 2010 12:23:07 -0400 (AST) Received: from [10.0.0.2] (fwext-esilo-jupiter.esilo.com [173.162.79.161]) (authenticated bits=0) by mail.esilo.com (8.13.1/8.13.1) with ESMTP id oBGGMxsY021935 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Thu, 16 Dec 2010 11:22:59 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=esilo.com; s=200912; t=1292516584; bh=K1TZ1k9h0ygBGPXW4glN8l4jsuQ=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=PBi7qO/wQho3n/vj6FRqKwmeGnkUkv7luC2UMz4H30ocEpqZgZfXioD+gxSCnsyjC 6GJBLwDCe2orZ1mXi5cThQIWtXYLZKiyZUyG5kmbnGYp8LBozwDc4eIkirdEZMlrwQ TGgIEWNO9oU8Xrv//+++egxRAZHhPy3QniReKoWc= DomainKey-Signature: a=rsa-sha1; s=main; d=esilo.com; c=simple; q=dns; b=my/+nPN/KSQfAghaLtCfVqg7oJECxjqNxPKhdXsBKVl8S8L5Lj7OsavYgoqsshIqp AbNfj48VnkbamXhocsIew== Message-ID: <4D0A3CDD.4070302@esilo.com> Date: Thu, 16 Dec 2010 11:22:53 -0500 From: Andrew Chernow User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Magnus Hagander CC: Tom Lane , "Massa, Harald Armin" , PostgreSQL-development Subject: Re: [GENERAL] queriing the version of libpq References: <22010.1292515676@sss.pgh.pa.us> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 63.150.152.211 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201012/1448 X-Sequence-Number: 176710 > > And it *could* be used in exactly the case you're outlining as long as > you load the function dynamically. Detecting the presence of a function does not require a version number. If the symbol is in the library, use it. The only reason the version number would come into play is if you were attempting to detect behavior differences. -- Andrew Chernow eSilo, LLC every bit counts http://www.esilo.com/