ERROR: query has no destination for result data - Mailing list pgsql-general

From rahul143
Subject ERROR: query has no destination for result data
Date
Msg-id 1354460696189-5734594.post@n5.nabble.com
Whole thread Raw
List pgsql-general
Hello,

I wish to return the SELECT statement.
Ho can I achieve this?

DO $$

DECLARE v_some_id int=14;

BEGIN
/*
more queries here...
*/
SELECT 'this is text';
END
$$ LANGUAGE plpgsql;

Best,
Peter Kroon



-----




--
View this message in context:
http://postgresql.1045698.n5.nabble.com/ERROR-query-has-no-destination-for-result-data-tp5734594.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: rahul143
Date:
Subject: High SYS CPU - need advise
Next
From: rahul143
Date:
Subject: Regarding the shared disk fail over cluster configuration