Search Postgresql Archives

Re: frustrated by plpgsql procedure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dino Vliet <dino_vliet@xxxxxxxxx> writes:
> I trying for days to get this simple plpgsql procedure
> to run but I keep getting this error:

You can't ordinarily use a variable to supply a table (or field) name
in a plpgsql query; that doesn't work because plpgsql wants to cache a
plan for the query.  A workaround is to build the query as a string
value, then use EXECUTE.

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux