pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: Thomas Kellerer <spam_eater@gmx.net>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: JDBC driver and Postgres 9.6beta
Date: Sat, 14 May 2016 10:49:28 -0400
Message-ID: <24504.1463237368@sss.pgh.pa.us> (raw)
In-Reply-To: <CADK3HHJ-CVkU6aJWQc9hrWXTKFURzKgjsY3Qkct8g5UDiDMegw@mail.gmail.com>
References: <nh72v6$582$1@ger.gmane.org>
	<CAB=Je-FUuFi0jUi4BCiTi5WuguJLgek=k2nt6LkZ8GfghVQbwQ@mail.gmail.com>
	<23980.1463236425@sss.pgh.pa.us>
	<CADK3HHJ-CVkU6aJWQc9hrWXTKFURzKgjsY3Qkct8g5UDiDMegw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Dave Cramer <pg@fastcrypt.com> writes:
> On 14 May 2016 at 10:33, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Using pg_get_indexdef() would leave you much less vulnerable to cross-
>> version differences in the system catalogs.

> That means parsing the response..

True.  If it seems like too much churn, I think you wouldn't go very far
wrong by assuming that ASC/DESC is only relevant to btree indexes.

			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



view thread (7+ messages)  latest in thread

Message-ID: <24504.1463237368@sss.pgh.pa.us>
Permalink:  ../24504.1463237368@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24504.1463237368@sss.pgh.pa.us

 · 

reply

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, pg@fastcrypt.com, sitnikov.vladimir@gmail.com, spam_eater@gmx.net
  Subject: Re: JDBC driver and Postgres 9.6beta
  In-Reply-To: <24504.1463237368@sss.pgh.pa.us>
  References: <nh72v6$582$1@ger.gmane.org> <CAB=Je-FUuFi0jUi4BCiTi5WuguJLgek=k2nt6LkZ8GfghVQbwQ@mail.gmail.com> <23980.1463236425@sss.pgh.pa.us> <CADK3HHJ-CVkU6aJWQc9hrWXTKFURzKgjsY3Qkct8g5UDiDMegw@mail.gmail.com> <24504.1463237368@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