On Mon, Sep 06, 2004 at 10:39:54PM +0200, Henry Combrinck wrote: > Can you give an example of what a "named rowtype" is? Are you refering to > creating some kind of custom TYPE, and then passing that to > func2(custom_type_row)?
You can use a table's rowtype, that is, a type that has the name of the table and the same column types. Or you can create a "standalone type" with CREATE TYPE foo AS (f1 int, f2 text, ...) -- Alvaro Herrera (<alvherre[a]dcc.uchile.cl>) "Find a bug in a program, and fix it, and the program will work today. Show the program how to find and fix a bug, and the program will work forever" (Oliver Silfridge) ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend
