FW: pgscript & select

From: "Little, Douglas" <DOUGLAS(dot)LITTLE(at)orbitz(dot)com>
To: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>
Subject: FW: pgscript & select
Date: 2010-01-23 17:17:15
Message-ID: A434C531E37AD442815608A769550D80590B54C383@EGEXCMB01.oww.root.lcl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support


It's not clear to me from the doc that pgscript doesn't work with select statements.
I'm trying to run

set @databasename='orbitz_hist_schema_hods' ;

select *
from pg_catalog.pg_namespace n1
where n1.nspname = '@databasename'
;

And when executed, I get no results in the data output tab.
Is this supposed to work?

Doug Little
Sr. Data Warehouse Architect | Enterprise Data Management | Orbitz Worldwide
500 W. Madison, Suite 1000 Chicago IL 60661| Office 312.260.2588 | Fax 312.894.5164 | Cell 847-997-5741
Douglas(dot)Little(at)orbitz(dot)com<mailto:Douglas(dot)Little(at)orbitz(dot)com>

[cid:image001(dot)jpg(at)01CA9C1B(dot)8B42A090] orbitz.com<http://www.orbitz.com/> | ebookers.com<http://www.ebookers.com/> | hotelclub.com<http://www.hotelclub.com/> | cheaptickets.com<http://www.cheaptickets.com/> | ratestogo.com<http://www.ratestogo.com/> | asiahotels.com<http://www.asiahotels.com/>

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Jure Kobal 2010-01-23 17:52:35 Re: FW: pgscript & select
Previous Message Guillaume Lelarge 2010-01-20 20:38:07 Re: Coordinate transformation