Re: Typed tables

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Andrew Chernow <ac@esilo.com>
Cc: pgsql-hackers@postgresql.org
Date: 2010-01-12T13:53:51Z
Lists: pgsql-hackers
On tis, 2010-01-12 at 08:05 -0500, Andrew Chernow wrote:
> In practice, tables can be used for passing data around or storing it on disk. 
> So, I guess my question remains unanswered as to what the composite type offers 
> that a table doesn't; other than a name that better suits the task.

The arguments of functions are types, not tables.  So you need types if
you want to use functions.