pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedfor psqlodbc developers: [ psqlodbc-Bugs-1000507 ] MSSQL syntax (fwd)
3+ messages / 3 participants
[nested] [flat]
* for psqlodbc developers: [ psqlodbc-Bugs-1000507 ] MSSQL syntax (fwd)
@ 2005-12-27 09:11 Ludek Finstrle <luf@pzkagis.cz>
2005-12-27 10:03 ` Re: for psqlodbc developers: [ psqlodbc-Bugs-1000507 ] Dave Page <dpage@vale-housing.co.uk>
0 siblings, 1 reply; 3+ messages in thread
From: Ludek Finstrle @ 2005-12-27 09:11 UTC (permalink / raw)
To: pgsql-odbc
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()
>
> ?????
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: for psqlodbc developers: [ psqlodbc-Bugs-1000507 ]
2005-12-27 09:11 for psqlodbc developers: [ psqlodbc-Bugs-1000507 ] MSSQL syntax (fwd) Ludek Finstrle <luf@pzkagis.cz>
@ 2005-12-27 10:03 ` Dave Page <dpage@vale-housing.co.uk>
2005-12-27 16:20 ` Re: for psqlodbc developers: [ psqlodbc-Bugs-1000507 ] Campbell, Greg <greg.campbell@us.michelin.com>
0 siblings, 1 reply; 3+ messages in thread
From: Dave Page @ 2005-12-27 10:03 UTC (permalink / raw)
To: Ludek Finstrle <luf@pzkagis.cz>; pgsql-odbc
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: for psqlodbc developers: [ psqlodbc-Bugs-1000507 ]
2005-12-27 09:11 for psqlodbc developers: [ psqlodbc-Bugs-1000507 ] MSSQL syntax (fwd) Ludek Finstrle <luf@pzkagis.cz>
2005-12-27 10:03 ` Re: for psqlodbc developers: [ psqlodbc-Bugs-1000507 ] Dave Page <dpage@vale-housing.co.uk>
@ 2005-12-27 16:20 ` Campbell, Greg <greg.campbell@us.michelin.com>
0 siblings, 0 replies; 3+ messages in thread
From: Campbell, Greg @ 2005-12-27 16:20 UTC (permalink / raw)
To: Ludek Finstrle <luf@pzkagis.cz>; +Cc: pgsql-odbc
Agree with Dave and Luf's instinct whole heartedly.
The driver should support things in the SQL and ODBC standards, particularly DML (INSERT,UPDATE, DELETE,
SELECT).
Hopefully the application developer builds a Data Access Layer to handle the variations of PostgreSQL, MS
SQL Sever, Oracle, MySQL, etc.
Dave Page wrote:
> 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
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
Attachments:
greg.campbell.vcf (text/x-vcard, 239B) download
begin:vcard
fn:Greg Campbell
n:Campbell;Greg
org:Michelin North America - US5 Lexington;ENG-ASE
email;internet:greg.campbell@us.michelin.com
title:ASE Systems Engineer
tel;work:803-951-5561/x75561
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2005-12-27 16:20 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-12-27 09:11 for psqlodbc developers: [ psqlodbc-Bugs-1000507 ] MSSQL syntax (fwd) Ludek Finstrle <luf@pzkagis.cz>
2005-12-27 10:03 ` Re: for psqlodbc developers: [ psqlodbc-Bugs-1000507 ] Dave Page <dpage@vale-housing.co.uk>
2005-12-27 16:20 ` Re: for psqlodbc developers: [ psqlodbc-Bugs-1000507 ] Campbell, Greg <greg.campbell@us.michelin.com>
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