Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1adg-0005zO-Lt for pgsql-jdbc@arkaria.postgresql.org; Sat, 14 May 2016 14:33:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b1adg-00035Z-85 for pgsql-jdbc@arkaria.postgresql.org; Sat, 14 May 2016 14:33:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b1adf-00035S-Oe for pgsql-jdbc@postgresql.org; Sat, 14 May 2016 14:33:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b1adb-0003Fb-GX for pgsql-jdbc@postgresql.org; Sat, 14 May 2016 14:33:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u4EEXjfs023981; Sat, 14 May 2016 10:33:45 -0400 From: Tom Lane To: Vladimir Sitnikov cc: Thomas Kellerer , pgsql-jdbc@postgresql.org Subject: Re: JDBC driver and Postgres 9.6beta In-reply-to: References: Comments: In-reply-to Vladimir Sitnikov message dated "Sat, 14 May 2016 13:57:00 -0000" Date: Sat, 14 May 2016 10:33:45 -0400 Message-ID: <23980.1463236425@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Vladimir Sitnikov 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