RowDescription via the SQL?

From: Dmitry Igrishin <dmitigr(at)gmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: RowDescription via the SQL?
Date: 2016-06-02 06:14:46
Message-ID: CAAfz9KMyn5d8c8MKDJM6wx4EZkJEqXmqSKzzy_GL_K17PKGQpg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

It's possible to query pg_prepared_statements view to obtain the
information about
parameters used in the statement that was prepared. But I don't found
how to get the
information about the rows that will be returned when the statement is
eventually executed.
(It's possible to get this information via the frontend/backend
protocol as a response
on the Describe.) But out of interest, is it possible to get such
information via the SQL?

--
// Dmitry.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bertrand Paquet 2016-06-02 13:32:32 Replication
Previous Message Patrick Baker 2016-06-02 05:04:51 Re: PL/PGSQL + inserts+updates+limit - Postgres 9.3