Re: pgsql: Fix doc patch --- pg_options_to_table() returns "setof record".

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix doc patch --- pg_options_to_table() returns "setof record".
Date: 2011-02-26 17:49:07
Message-ID: 4D693D13.5020408@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 02/26/2011 12:27 PM, Bruce Momjian wrote:
> Fix doc patch --- pg_options_to_table() returns "setof record".

This doesn't strike me as terribly helpful. Why don't we document what
sort of records it returns, since we know perfectly well?:

andrew=# \df pg_options_to_table
List of functions
Schema | Name | Result data type
| Argument data types | Type
------------+---------------------+------------------+-------------------------------------------------------------------+--------
pg_catalog | pg_options_to_table | SETOF record | options_array
text[], OUT option_name text, OUT option_value text | normal
(1 row)

cheers

andrew

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2011-02-26 17:53:27 Re: pgsql: Fix doc patch --- pg_options_to_table() returns "setof record".
Previous Message Bruce Momjian 2011-02-26 17:48:01 pgsql: Document that pg_options_to_table() also works for