Re:A Simple Guide to Five Normal Forms in Relational Databas...
by jimktrains2 on Monday September 29, 2014 @11:21AM
(#8383277)
It's returning a record, which is more of a struct than an array.
[ Parent
| on HN ]
Re:A Simple Guide to Five Normal Forms in Relational Databas...
by yangyang on Monday September 29, 2014 @12:51PM
(#8383728)
CREATE OR REPLACE FUNCTION get_people()
RETURNS person[] LANGUAGE sql AS
person is a composite type, defined further up. The square brackets indicate an array of that type.
Re:A Simple Guide to Five Normal Forms in Relational Databas...
by jimktrains2 on Monday September 29, 2014 @02:01PM
(#8384143)
I misread you at first.