Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id DF8689FB2ED for ; Wed, 24 Jan 2007 16:26:47 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 91776-05 for ; Wed, 24 Jan 2007 16:26:41 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from wolff.to (wolff.to [66.93.197.194]) by postgresql.org (Postfix) with SMTP id 298F99FB2B7 for ; Wed, 24 Jan 2007 16:26:43 -0400 (AST) Received: (qmail 20462 invoked by uid 500); 24 Jan 2007 20:26:36 -0000 Date: Wed, 24 Jan 2007 14:26:36 -0600 From: Bruno Wolff III To: "Negandhi, Nishith" Cc: pgsql-admin@postgresql.org Subject: Re: Print command equivalent in postgresql Message-ID: <20070124202636.GA19495@wolff.to> Mail-Followup-To: Bruno Wolff III , "Negandhi, Nishith" , pgsql-admin@postgresql.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/232 X-Sequence-Number: 24388 On Tue, Jan 23, 2007 at 10:47:13 -0600, "Negandhi, Nishith" wrote: > Hi, > In SQL Server there is a PRINT command that returns a user-defined > message to the client. > What is the equivalent of this on postgresql .?? Can you explain more about what you are looking for? If you just want to return a row with a string in it you can use: SELECT 'Your string here';