What's the equivalent in PL/pgSQL

From: KÖPFERL Robert <robert(dot)koepferl(at)sonorys(dot)at>
To:
Cc: pgsql-sql(at)postgresql(dot)org
Subject: What's the equivalent in PL/pgSQL
Date: 2005-01-27 12:46:50
Message-ID: ED4E30DD9C43D5118DFB00508BBBA76EB16591@neptun.sonorys.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,
I'm trying to find an equivalent plpgsql function as this:

func x returns SETOF "Tablename" AS
'
Select * from "Tablename";
' language sql

How is this accomplished with plpgsql while not using a loop or a second and
third temporal table?

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Sandeep Gaikwad 2005-01-27 13:17:44 Foreign Key relationship between two databases
Previous Message Wilton 2005-01-27 12:21:15 Complete instruction in a trigger