Andrew Dunstan wrote:
> 
> 
> 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)

Well, other functions don't mention what they return either so I tried
to be consistent.  The mention below does explain their meaning, as does
the text next to it.

Should we fix them all?  I thought that column was just for data types.

-- 
  Bruce Momjian  <[email protected]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to