Rakesh Kumar wrote:
> Is there a way to query dead rows (that is, rows which are dead and still not cleaned up by Vacuum)
> using SQL. I am asking this just as an academical question.
Sort of.
You can use heap_page_item_attrs() from the pageinspect contrib module to get at the
data, but you will only see the binary representation.
If your question is motivated by security concerns, you cannot do this unless you
are a superuser.
Yours,
Laurenz Albe