Jerry Sievers <gsievers19(at)comcast(dot)net> writes:> ProPAAS DBA <dba(at)propaas(dot)com> writes:>> pg_toast.pg_toast_16784>> How do I find the primary table for this toast table?
> Find the pg_class row with reltoastrelid = $oid-of-toast-table.
After you've done that a couple of times, you'll notice that the numericpart of the toast table's name is the OID of its parent, so really youjust need to do
Confirming the reltoastrelid link is a good idea though.
regards, tom lane