X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 6D0C69DC9F7 for ; Tue, 27 Dec 2005 12:49:14 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 48937-08 for ; Tue, 27 Dec 2005 12:49:12 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from gk-us2.us.michelin.com (gk-us2.michelin.com [156.65.14.19]) by postgresql.org (Postfix) with ESMTP id 9F84A9DC9D3 for ; Tue, 27 Dec 2005 12:49:09 -0400 (AST) Received: from oncpfxp4-out.onc.michelin.com (unverified) by gk-us2.us.michelin.com (Clearswift SMTPRS 5.1.7) with ESMTP id for ; Tue, 27 Dec 2005 11:48:06 -0500 Received: from ONCMH1.onc.michelin.com (ONCMH1.onc.michelin.com [156.65.124.40]) by oncpfxp4-out.onc.michelin.com (Postfix) with ESMTP id 810B7172CB for ; Tue, 27 Dec 2005 11:21:00 -0500 (EST) Received: from oncmtap1.onc.michelin.com by oncmh1.onc.michelin.com with ESMTP for pgsql-odbc@postgresql.org; Tue, 27 Dec 2005 11:21:00 -0500 Received: from oncems01.onc.michelin.com ([156.65.125.150]) by oncmtap1.onc.michelin.com (Netscape Messaging Server 4.15) with ESMTP id IS602Z00.82H for ; Tue, 27 Dec 2005 11:20:59 -0500 Received: from [10.43.12.183] (unverified) by oncems01.onc.michelin.com (Content Technologies SMTPRS 4.2.5) with ESMTP id ; Tue, 27 Dec 2005 11:20:59 -0500 Message-Id: <43B169E8.3030703@us.michelin.com> Date: Tue, 27 Dec 2005 11:20:56 -0500 From: "Campbell, Greg" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ludek Finstrle CC: pgsql-odbc@postgresql.org Subject: Re: for psqlodbc developers: [ psqlodbc-Bugs-1000507 ] References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------090209090603020404060506" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=2.14 required=5 tests=[AWL=-0.012, RCVD_IN_WHOIS_INVALID=2.151, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 2.14 X-Spam-Level: ** X-Archive-Number: 200512/330 X-Sequence-Number: 6809 This is a multi-part message in MIME format. --------------090209090603020404060506 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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" 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 --------------090209090603020404060506 Content-Type: text/x-vcard; charset=utf-8; name="greg.campbell.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="greg.campbell.vcf" 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 --------------090209090603020404060506--