Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 557FC9FB319 for ; Tue, 10 Oct 2006 17:44:10 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 84337-01 for ; Tue, 10 Oct 2006 17:44:04 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id F09469FB30F for ; Tue, 10 Oct 2006 17:44:03 -0300 (ADT) Received: from [192.168.42.113] (natpool.bovine.net [67.100.216.14]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by noel.decibel.org (Postfix) with ESMTP id EFA4956431; Tue, 10 Oct 2006 15:44:02 -0500 (CDT) In-Reply-To: <20061004163726.GA28791@holyman.cobbled.net> References: <20061004163726.GA28791@holyman.cobbled.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/alternative; boundary=Apple-Mail-9--330269843 Message-Id: <63C268BA-3B33-4056-BCC9-97B4CE538294@nasby.net> Cc: pgsql-admin@postgresql.org From: Jim Nasby Subject: Re: non-standard 'CREATE INDEX' problem Date: Tue, 10 Oct 2006 15:44:00 -0500 To: n0g0013 X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.053 tagged_above=0 required=5 tests=AWL, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200610/72 X-Sequence-Number: 23375 --Apple-Mail-9--330269843 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed 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) --Apple-Mail-9--330269843 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
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.=A0 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.net
EnterpriseDB=A0 = =A0 =A0 http://enterprisedb.com=A0= =A0 =A0 512.569.9461 (cell)


= --Apple-Mail-9--330269843--