Re: [INTERFACES] PL/pgSQL Syntax Problem - Mailing list pgsql-general

From Tom Lane
Subject Re: [INTERFACES] PL/pgSQL Syntax Problem
Date
Msg-id 9049.1015282996@sss.pgh.pa.us
Whole thread Raw
List pgsql-general
Hubert Palme <hubert.palme@web.de> writes:
> ERROR:  query "SELECT  * INTO daten FROM telefon WHERE t_lfd_nr =  $1 "
> isn't a
> SELECT

> Why isn't this a SELECT??

Get rid of the INTO ...

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: trying to upgrade and keep large object IDs intact...
Next
From: Tom Lane
Date:
Subject: Re: storing intermediate results in recursive plpgsql functions