pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Page <dpage@vale-housing.co.uk>
To: Ludek Finstrle <luf@pzkagis.cz>
To: pgsql-odbc@postgresql.org
Subject: Re: for psqlodbc developers: [ psqlodbc-Bugs-1000507 ]
Date: Tue, 27 Dec 2005 10:03:43 +0000
Message-ID: <BFD6C1FF.86F2%dpage@vale-housing.co.uk> (raw)
In-Reply-To: <20051227091149.GA741@soptik.pzkagis.cz>

This would require fully parsing statements and would lead to an endless
stream of similar requests for rewriting other quirky syntaxes IMHO. This is
not something we can support.

Regards, Dave


On 27/12/05 9:11 am, "Ludek Finstrle" <luf@pzkagis.cz> wrote:

> I ask other developers: what's your opinion?
> 
> I know the man may need it but I don't think we want it. We
> have to support Oracle, Informix, MySQL, ... special commands than.
> 
> I hope we don't need parse statements before execute them
> in new development version so it could be slowdown in the future.
> 
> Regards,
> 
> Luf
> 
>> Summary: MSSQL syntax
>> 
>> Initial Comment:
>> MSSQL have a command that Postgresql don't support:
>> 
>> @@spid
>> 
>> This command returns MSSQL connection pid.
>> 
>> I've a application that uses this query. I can't change code, but
>> i need that psqlodbc ignore this command.
>> 
>> ----------------------------------------------------------------------
>> 
>>> Comment By: Ludek Finstrle (luf)
>> Date: 2005-12-27 10:01
>> 
>> Message:
>> I don't know if we want this behaviour. When you move to other DB
>> do you think they will add support for this?
>> 
>> I need to talk about it with other developers. I'm againist this
>> kind of support.
>> 
>> @@spid is whole command or is it located inside statements?
>> 
>> If you're a little bit familiar with C you can hack it into psqlodbc
>> code yourself (I think in PGAPI_Prepare and PGAPI_ExecDirect).
>> 
>> ----------------------------------------------------------------------
>> 
>> Comment By: Nobody (None)
>> Date: 2005-12-27 02:25
>> 
>> Message:
>> can psqlodbc to transform all "@@xyz" syntax in:
>> 
>> xyz()
>> 
>> ?????
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

Regards, Dave 





view thread (3+ messages)  latest in thread

Message-ID: <BFD6C1FF.86F2%dpage@vale-housing.co.uk>
Permalink:  ../BFD6C1FF.86F2%25dpage@vale-housing.co.uk/
Also on:    postgresql.org/message-id/BFD6C1FF.86F2%dpage@vale-housing.co.uk

 · 

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-odbc@postgresql.org
  Cc: dpage@vale-housing.co.uk, luf@pzkagis.cz
  Subject: Re: for psqlodbc developers: [ psqlodbc-Bugs-1000507 ]
  In-Reply-To: <BFD6C1FF.86F2%dpage@vale-housing.co.uk>
  References: <20051227091149.GA741@soptik.pzkagis.cz> <BFD6C1FF.86F2%dpage@vale-housing.co.uk>

* 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