Re: TODO: You can alter it, but you can't view it

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: bruce@momjian.us
Cc: Josh Berkus <josh@agliodbs.com>, Itagaki Takahiro <itagaki.takahiro@gmail.com>, postgres hackers <pgsql-hackers@postgresql.org>
Date: 2011-02-26T17:49:28Z
Lists: pgsql-hackers

Attachments

bruce wrote:
> Josh Berkus wrote:
> > 
> > > Right now pg_options_to_table() is not documented.  Should it be?
> > 
> > Yes, I think so.
> 
> Done, with the attached, applied patch.

Oh, here is an example usage:

	test=> select pg_options_to_table(reloptions) from pg_class;
	       pg_options_to_table
	----------------------------------
	 (fillfactor,50)
	 (autovacuum_freeze_table_age,10)
	(2 rows)

It also works for pg_attribute.attoptions, so I documented that too.
I also fixed the documented return type in my previous patch.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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