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 D6A3C9DC998 for ; Tue, 27 Dec 2005 05:01:13 -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 07903-07 for ; Tue, 27 Dec 2005 05:01:14 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id C2CC49DC8E0 for ; Tue, 27 Dec 2005 05:01:11 -0400 (AST) Received: from localhost (av.hub.org [200.46.204.144]) by pgfoundry.org (Postfix) with ESMTP id 2CA971125088; Tue, 27 Dec 2005 09:01:13 +0000 (GMT) Received: from pgfoundry.org ([200.46.204.130]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 06548-06; Tue, 27 Dec 2005 05:01:12 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id C080D112507E; Tue, 27 Dec 2005 09:01:10 +0000 (GMT) To: noreply@pgfoundry.org From: Subject: =?UTF-8?Q?[_psqlodbc-Bugs-1000507_]_MSSQL_syntax?= Content-type: text/plain; charset=UTF-8 Message-Id: <20051227090110.C080D112507E@pgfoundry.org> Date: Tue, 27 Dec 2005 09:01:10 +0000 (GMT) X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=-0.827 required=5 tests=[ALL_TRUSTED=-1.44, AWL=0.063, NO_REAL_NAME=0.55, SUBJECT_EXCESS_QP=0] X-Spam-Score: -0.827 X-Spam-Level: X-Archive-Number: 200512/323 X-Sequence-Number: 6802 Bugs item #1000507, was opened at 2005-12-27 02:23 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000507&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) 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() ????? ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000507&group_id=1000125