pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim Nasby <jim@nasby.net>
To: n0g0013 <ttw+pg@cobbled.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: non-standard 'CREATE INDEX' problem
Date: Tue, 10 Oct 2006 15:44:00 -0500
Message-ID: <63C268BA-3B33-4056-BCC9-97B4CE538294@nasby.net> (raw)
In-Reply-To: <20061004163726.GA28791@holyman.cobbled.net>
References: <20061004163726.GA28791@holyman.cobbled.net>

On Oct 4, 2006, at 12:37 PM, n0g0013 wrote:
> got a vendor application that's pretty much designed for MSSQL but
> it's using 'CREATE INDEX ... [ ASC | DESC ]' syntax.
>
> it appears that the ODBC driver is rejecting that as invalid.
> testing on the database reveals the same.  and reference to the docs
> indicate it's not postgresql syntax.
>
> is there a quick hack allow the driver and the database to accept the
> syntax?

Quick? Not really. You'd have to modify the grammar, at a minimum.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)

view thread (2+ messages)

Message-ID: <63C268BA-3B33-4056-BCC9-97B4CE538294@nasby.net>
Permalink:  ../63C268BA-3B33-4056-BCC9-97B4CE538294@nasby.net/
Also on:    postgresql.org/message-id/63C268BA-3B33-4056-BCC9-97B4CE538294@nasby.net

 · 

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-admin@postgresql.org
  Cc: jim@nasby.net, ttw+pg@cobbled.net
  Subject: Re: non-standard 'CREATE INDEX' problem
  In-Reply-To: <63C268BA-3B33-4056-BCC9-97B4CE538294@nasby.net>
  References: <20061004163726.GA28791@holyman.cobbled.net> <63C268BA-3B33-4056-BCC9-97B4CE538294@nasby.net>

* 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