2 ms·
It's returning a record, which is more of a struct than an array.
by jimktrains2 12y ago
It's returning a record, which is more of a struct than an array.
- yangyang 12y agoCREATE 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.
- jimktrains2 12y agoI misread you at first.