From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stephen Frost <sfrost(at)snowman(dot)net>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: No longer possible to query catalogs for index capabilities? |
Date: | 2016-08-06 15:13:28 |
Message-ID: | 20160806151328.GH26927@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, Aug 6, 2016 at 04:04:41PM +0100, Andrew Gierth wrote:
> >>>>> "Bruce" == Bruce Momjian <bruce(at)momjian(dot)us> writes:
>
> Bruce> Would it be helpful to output an array of strings representing
> Bruce> the index definition?
>
> >> Why would that help, if the point is to enable programmatic access
> >> to information?
>
> Bruce> I was thinking an array of strings would avoid problems in
> Bruce> having to re-scan the output for tokens.
>
> OK, but that still leaves the issue of how to interpret each string,
> yes?
Yes, you still have to parse it, just not scan/tokenize it.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2016-08-06 16:45:32 | Re: Possible duplicate release of buffer lock. |
Previous Message | Andrew Gierth | 2016-08-06 15:04:41 | Re: No longer possible to query catalogs for index capabilities? |