Received: from localhost.localdomain (adsl-63-206-168-198.dsl.sktn01.pacbell.net [63.206.168.198]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f059Jm786276 for ; Fri, 5 Jan 2001 04:19:48 -0500 (EST) (envelope-from jdavis@wasabimg.com) Received: from jdavis (jdavis [192.168.0.2]) by localhost.localdomain (Postfix) with SMTP id CFD1B4E522 for ; Fri, 5 Jan 2001 01:17:57 -0900 (GMT+9) From: Jeff Davis To: pgsql-general@postgresql.org Subject: Explain Date: Fri, 5 Jan 2001 01:18:34 -0800 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <0101050121130A.01054@jdavis> Content-Transfer-Encoding: 8bit X-Archive-Number: 200101/169 X-Sequence-Number: 2335 How can I conveniently handle output from an EXPLAIN query inside an application? It appears to just immediately send the output to the stdout of whatever program uses it. Is there a way to get the output inside a program, with libpq or otherwise? I would actually like to be able to get the output in a PHP script, but getting it in any application would be nice. Thanks, Jeff Davis -- Jeff Davis jdavis@dynworks.com http://dynworks.com