From: Tom Lane <tgl@sss.pgh.pa.us>
To: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: JDBC driver and Postgres 9.6beta
Date: Sat, 14 May 2016 10:33:45 -0400
Message-ID: <23980.1463236425@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB=Je-FUuFi0jUi4BCiTi5WuguJLgek=k2nt6LkZ8GfghVQbwQ@mail.gmail.com>
References: <nh72v6$582$1@ger.gmane.org>
<CAB=Je-FUuFi0jUi4BCiTi5WuguJLgek=k2nt6LkZ8GfghVQbwQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
Vladimir Sitnikov <sitnikov.vladimir@gmail.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
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: tgl@sss.pgh.pa.us, sitnikov.vladimir@gmail.com, spam_eater@gmx.net
Subject: Re: JDBC driver and Postgres 9.6beta
In-Reply-To: <23980.1463236425@sss.pgh.pa.us>
References: <nh72v6$582$1@ger.gmane.org> <CAB=Je-FUuFi0jUi4BCiTi5WuguJLgek=k2nt6LkZ8GfghVQbwQ@mail.gmail.com> <23980.1463236425@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox