Skip site navigation (1) Skip section navigation (2)

Re: Special column trivia

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Smith <greg(at)2ndquadrant(dot)com>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: Special column trivia
Date: 2010-06-06 10:30:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docs
Greg Smith <greg(at)2ndquadrant(dot)com> writes:
> I was just reading 
> and 
> noted that the second part about the ctid being unstable:  "a row's ctid 
> will change if it is updated or moved by VACUUM FULL" is probably not 
> true anymore.  Is that worth updating?

It's still true.  VACUUM FULL still reassigns ctids.

> What got me reading that section was a rather weird documentation 
> question/addition from Edmund Horner.  He noted that the following works 
> on PG8.4 and 9.0:

> postgres=# select (row(1,2)).name;

This is the cast-a-composite-type-to-string-type issue that's come up in
several guises before, eg most recently at

			regards, tom lane

In response to


pgsql-docs by date

Next:From: Ravi KatkarDate: 2010-06-07 10:32:28
Subject: ODBC - Posgresql user guide doc
Previous:From: Greg SmithDate: 2010-06-06 07:18:57
Subject: Special column trivia

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group