Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id BF83C2E0069 for ; Wed, 2 Apr 2008 23:09:23 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 73489-09 for ; Wed, 2 Apr 2008 23:09:10 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.238]) by developer.postgresql.org (Postfix) with ESMTP id 4ADEB2E0054 for ; Wed, 2 Apr 2008 23:09:19 -0300 (ADT) Received: by wr-out-0506.google.com with SMTP id 76so2157178wra.10 for ; Wed, 02 Apr 2008 19:09:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=tRnBruEGMPHoaTHebbwE8XY/9I8iJxLuC5HhD0ckBv8=; b=ags9nSXfInZa4jHwr0HrKR7EOQx0iHjuta5LfQ+0PDshTaLrbwhX7ZDR76XMwku8EnSWTdRqbgRQUdjCvbMF2XCpuWR6+FnkJ1Kw8gKGKY3F9c2F6+zuPFt2aBYzVv+iUzF75xqPGa7XDgtxCvamdy9g2JmUW34X1LQPtm5SB/U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=tfyl7fKoBNdZxvoKA26N5cUnLrx7GQXqQ5mo2voeT7pdGiS4r38y+m3VRCGwjhBEqZtqAqdC1cS1oKjqvgNpYf798w+LkNdYg2v2cCSZA6wF8UTys+58m0lurp/99yVZI1nxdXLRdJN+SW0iVbn09Vd3Rti5m9Y1sTuViWiMa1k= Received: by 10.114.181.6 with SMTP id d6mr16240760waf.50.1207188557145; Wed, 02 Apr 2008 19:09:17 -0700 (PDT) Received: by 10.114.27.16 with HTTP; Wed, 2 Apr 2008 19:09:17 -0700 (PDT) Message-ID: <65937bea0804021909h2e0c11efx33bdeb12c4231e6c@mail.gmail.com> Date: Thu, 3 Apr 2008 07:39:17 +0530 From: "Gurjeet Singh" To: "Otniel Michael" Subject: Re: Asking GO on SQL SERVER Cc: pgsql-sql@postgresql.org In-Reply-To: <1703cd180804021844r5b21506em3a6c90f2b5abe0ca@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2460_17661077.1207188557099" References: <1703cd180804021844r5b21506em3a6c90f2b5abe0ca@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/13 X-Sequence-Number: 30552 ------=_Part_2460_17661077.1207188557099 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Apr 3, 2008 at 7:14 AM, Otniel Michael wrote: > Hi All.. > > Anybody knows what is "GO" (SQL Server) on Postgres? > If you are using the interactive terminal psql, then you can use \g meta command.... select 1+2 \g ---- expect results here. Remember that this is a feature of psql; so if you are using ODBC, JDBC etc, it won't work from those interfaces. Best regards, -- gurjeet[.singh]@EnterpriseDB.com singh.gurjeet@{ gmail | hotmail | indiatimes | yahoo }.com EnterpriseDB http://www.enterprisedb.com Mail sent from my BlackLaptop device ------=_Part_2460_17661077.1207188557099 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Apr 3, 2008 at 7:14 AM, Otniel Michael <otnieltera@gmail.com> wrote:
Hi All..

Anybody knows what is "GO" (SQL Server) on Postgres?

If you are using the interactive terminal  psql, then you can use \g meta command....


select 1+2
\g
---- expect results here.

Remember that this is a feature of psql; so if you are using ODBC, JDBC etc, it won't work from those interfaces.

Best regards,


--
gurjeet[.singh]@EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | indiatimes | yahoo }.com

EnterpriseDB      http://www.enterprisedb.com

Mail sent from my BlackLaptop device ------=_Part_2460_17661077.1207188557099--