Re: ToDo List Item - System Table Index Clustering

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nicolas Barbier <nicolas.barbier@gmail.com>
Cc: Simone Aiken <saiken@ulfheim.net>, pgsql-hackers@postgresql.org
Date: 2011-01-16T16:34:31Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add new buffers_backend_fsync field to pg_stat_bgwriter.

Nicolas Barbier <nicolas.barbier@gmail.com> writes:
> 2011/1/16 Simone Aiken <saiken@ulfheim.net>:
>>        ... So even though the documentation says that column
>>        maps to pg_proc.oid I can't then write:
>>                Select * from pg_proc where oid = 'boolout';

> Type type of typoutput is "regproc", which is really an oid with a
> different output function. To get the numeric value, do:
> Select typoutput::oid from pg_type limit 1;

Also, you *can* go back the other way.  It's very common to write

               Select * from pg_proc where oid = 'boolout'::regproc

rather than looking up the OID first.  There are similar pseudotypes for
relation and operator names; see "Object Identifier Types" in the
manual.

			regards, tom lane