Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7E6774767C3 for ; Wed, 23 Oct 2002 14:07:17 -0400 (EDT) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 18DB74767AA for ; Wed, 23 Oct 2002 14:07:17 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 1DB5B381A2E; Wed, 23 Oct 2002 06:10:12 -0400 (EDT) From: Jeff Boes X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Print line? Date: Wed, 23 Oct 2002 14:08:30 -0400 Organization: Nexcerpt, Inc. Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@news.hub.org User-Agent: Pan/0.11.4 (Unix) X-Comment-To: "Markus Dehmann" To: pgsql-admin@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/222 X-Sequence-Number: 6080 On Tue, 22 Oct 2002 13:46:37 -0400, Markus Dehmann wrote: > Hi, > > is there an SQL command that just prints a line? I want to do sth like: > > -- SQL query > print "Now displaying cities..."; > SELECT * from cities; Try \qecho: \qecho Now displaying cities SELECT * FROM cities; Otherwise you could also do: \t SELECT 'Now displaying cities...'; \t SELECT * FROM cities; -- Jeff Boes vox 616.226.9550 ext 24 Database Engineer fax 616.349.9076 Nexcerpt, Inc. http://www.nexcerpt.com ...Nexcerpt... Extend your Expertise