Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id A6268655A64 for ; Mon, 17 May 2010 12:04:47 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 88828-06 for ; Mon, 17 May 2010 15:04:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wy0-f174.google.com (mail-wy0-f174.google.com [74.125.82.174]) by mail.postgresql.org (Postfix) with ESMTP id 2961E643281 for ; Mon, 17 May 2010 12:04:39 -0300 (ADT) Received: by wyb39 with SMTP id 39so517677wyb.19 for ; Mon, 17 May 2010 08:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=ItjdSBu47yqqmxsG9FlxtvIgd5u2I6n0ZXm5Hn09utQ=; b=FjkiXUEaIyQ8hWbuFQzdzLMBx6XXr87bCsgLKX1KQEitDpsswpvv9uqU7Xuv/lWpck /yoN887zNKB59kAl6w+Mnc9dD+rtphBecUFzVx3TtDE2Mh5AdgmDcveFSDfvh5d8Przp FQI6YjzxIWsD5ADsk8inyi5k5eHv5X1AfJexE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=JS/NsYcdwq2L8t5QFYD4TUn6ALIRvFmQckkyM1DLouyINRN/s45z+7eBdCctk7j5jw rbyAD+hzU8c8NsQdgx6mzDq0P9kmhGR9fBaQ5SD+OtQLi96788k1GhrAJbfs8spTsDqZ 541Z0h5FwVkHmUyq0SevZUbfAzn0s3oYRbYow= Received: by 10.227.129.79 with SMTP id n15mr5009794wbs.20.1274108679178; Mon, 17 May 2010 08:04:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.180.84 with HTTP; Mon, 17 May 2010 08:04:19 -0700 (PDT) In-Reply-To: References: From: Thom Brown Date: Mon, 17 May 2010 16:04:19 +0100 Message-ID: Subject: Re: which function should i invoke to create a table and insert tuples? To: sunpeng Cc: pgsql-general@postgresql.org Content-Type: multipart/alternative; boundary=0016e65aee983a4c760486cb8bb8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-5 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201005/658 X-Sequence-Number: 163027 --0016e65aee983a4c760486cb8bb8 Content-Type: text/plain; charset=ISO-8859-1 On 17 May 2010 15:53, sunpeng wrote: > Thanks for your quickly reply. > Maybe i haven't expressed clearly.My purpose is in the postgresql source > codes which function invoke should i use to create table and insert tuples. > for example are there any function just like _createTable(char > *tableName,int firstColumn,int secondColumn) ? > > Please use "reply to all" so everyone can see your responses. I'm not aware of anything that will do what you're asking. You can use client interfaces ( http://www.postgresql.org/docs/8.4/static/client-interfaces.html) but as for libraries with variadic functions, I wouldn't know. Regards Thom --0016e65aee983a4c760486cb8bb8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On 17 May 2010 15:53, sunpeng = <bluevaley@gmail.com> wrote:
Thanks for your quickly reply.
Maybe i haven't expressed clearly.My = purpose is in the postgresql source codes which function invoke should i us= e to create table and insert tuples.
for example are there any function = just like _createTable(char *tableName,int firstColumn,int secondColumn) ?<= br>

Please use "reply to all" so everyone c= an see your responses.

I'm not aware of anything that will do wh= at you're asking.=A0 You can use client interfaces (http://www.postgr= esql.org/docs/8.4/static/client-interfaces.html) but as for libraries w= ith variadic functions, I wouldn't know.

Regards

Thom

--0016e65aee983a4c760486cb8bb8--