X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6C60BD81EF for ; Thu, 22 Sep 2005 19:06:41 -0300 (ADT) 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 32095-03 for ; Thu, 22 Sep 2005 22:06:34 +0000 (GMT) Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by svr1.postgresql.org (Postfix) with ESMTP id 29DB0D8077 for ; Thu, 22 Sep 2005 19:06:35 -0300 (ADT) X-EthosMedia-Virus-Scanned: no infections found Received: from [64.81.245.111] (account josh@agliodbs.com HELO temoku.sf.agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 8136678; Thu, 22 Sep 2005 15:09:01 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: pgsql-sql@postgresql.org Subject: Re: Using descriptor areas to insert Date: Thu, 22 Sep 2005 15:10:23 -0700 User-Agent: KMail/1.8 Cc: andy rost References: <4332D278.9@noaa.gov> In-Reply-To: <4332D278.9@noaa.gov> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509221510.23942.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.047 required=5 tests=[AWL=-0.003, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200509/218 X-Sequence-Number: 22765 Andrew, > I'm in the final stages of porting a large body of ESQL software from > Informix to PostgreSQL (V8). The last few Informix-based functions > involve Informix descriptor areas to insert rows into a table. I've > sorted out the logic for using PostgreSQL descriptor areas for select > statements. How do you go about using the PostgreSQL descriptor areas > for insert statements? Is there another way to approach the problem of > insert records into an arbitrary table using dynamic SQL? Hmmm, I don't quite follow you, mostly because I'm *not* an Informix person. Could you give an example? Also, if you still have contact, Dave Cramer or Elein should be able to answer this question ... -- --Josh Josh Berkus Aglio Database Solutions San Francisco