Re: JDBC driver and Postgres 9.6beta

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Cc: Thomas Kellerer <spam_eater(at)gmx(dot)net>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC driver and Postgres 9.6beta
Date: 2016-05-14 14:33:45
Message-ID: 23980.1463236425@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com> writes:
> Does anybody know what is the proper way to tell if index column is ASC or
> DESC in 9.6+?

Using pg_get_indexdef() would leave you much less vulnerable to cross-
version differences in the system catalogs.

regards, tom lane

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2016-05-14 14:41:27 Re: JDBC driver and Postgres 9.6beta
Previous Message Vladimir Sitnikov 2016-05-14 13:57:00 Re: JDBC driver and Postgres 9.6beta