X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 49832D1DF80 for ; Thu, 22 Apr 2004 15:07:31 -0300 (ADT) 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 58458-05 for ; Thu, 22 Apr 2004 15:07:30 -0300 (ADT) Received: from fedk0910.ferring.com (fedk0905.ferring.com [213.237.141.20]) by svr1.postgresql.org (Postfix) with ESMTP id B7F5AD1DF87 for ; Thu, 22 Apr 2004 15:07:27 -0300 (ADT) Received: from fedk0005.Fic.ferring.com (unverified) by fedk0910.ferring.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Thu, 22 Apr 2004 18:07:52 +0200 Received: from ferring.com (10.20.100.63 [10.20.100.63]) by fedk0005.Fic.ferring.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id HJQ4N0K9; Thu, 22 Apr 2004 18:08:07 +0200 Message-ID: <4087EE3A.7000703@ferring.com> Date: Thu, 22 Apr 2004 09:09:30 -0700 From: Kemin Zhou User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "pgsql-sql @ postgresql . org" Subject: Re: Server Side C programming Environment Set up References: <4086B601.3030108@ferring.com> <200404220718.12923.peter_e@gmx.net> <1082642297.91360.9.camel@jester> In-Reply-To: <1082642297.91360.9.camel@jester> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/238 X-Sequence-Number: 17613 Rod Taylor wrote: >On Thu, 2004-04-22 at 01:18, Peter Eisentraut wrote: > > >>Kemin Zhou wrote: >> >> >>>IN chapter 33 Extending SQL >>>33.7.5 Writing Code >>>when run pg_config --includedir-server >>>I got /usr/local/pgsql/include/server but my machine does NOT have this >>>directory >>> >>> >>make install-all-headers >> >>It's explained in the installation instructions. >> >> > >That doesn't happen on most platforms in the standard package. > >Are you proposing that packagers create a postgresql-headers package and >depend on that? > >If this is the suggested way of solving the headers portion of the >problem then lets tell the packagers. > > > > As fas I am concerned, being a generalized programer, to program the serverside functionality I would need a header file that should include nearly all the server side functionality and a lib, presumably dynamically linkable lib file libpgserver.so. We already have the interface library libpq.so The server side header does not have to include everything. It only needs to be the parts that the user programer needs to manipulate (SPI?). I see a great advantage to be able to plug in some information_managing algorithms into Postgres. Kemin ********************************************************************** Proprietary or confidential information belonging to Ferring Holding SA or to one of its affiliated companies may be contained in the message. If you are not the addressee indicated in this message (or responsible for the delivery of the message to such person), please do not copy or deliver this message to anyone. In such case, please destroy this message and notify the sender by reply e-mail. Please advise the sender immediately if you or your employer do not consent to e-mail for messages of this kind. Opinions, conclusions and other information in this message represent the opinion of the sender and do not necessarily represent or reflect the views and opinions of Ferring. **********************************************************************