function INPUT as whole table - Mailing list pgsql-sql

From Yambu
Subject function INPUT as whole table
Date
Msg-id CALhHtcAGqGgCDKYg5rgwxqjXDhJnAH+qYxFDAya2Jn4CWxSV1A@mail.gmail.com
Whole thread Raw
Responses Re: function INPUT as whole table
Re: function INPUT as whole table
List pgsql-sql
Hello

Is it possible to have as input to a function , a whole table contents,  if the table is a small lookup table?

Something like this   
  
CREATE or replace function test (IN (select * from table1) ) 

pgsql-sql by date:

Previous
From: Steve Midgley
Date:
Subject: Re: Update to whole table
Next
From: "David G. Johnston"
Date:
Subject: Re: function INPUT as whole table