Search Postgresql Archives

Re: Fixing up a corrupted toast table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/9/06, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
> Steve Atkins <steve@xxxxxxxxxxx> writes:
> >>> make it happy by inserting a dummy row into the toast table (chunk ID
> >>> as specified in the error, chunk sequence 0, any old data value).
>
> > Any attempt to touch the toast table gives me:
> > ERROR:  cannot change TOAST relation "pg_toast_17410"
>
> Ugh.  Maybe we should allow superusers to do that?  Or is it too much of
> a foot-gun?

+1 on allowing superusers to do that.  I recently needed it.

Especially cool would be if i could simply insert untoasted
values there, so i can put some fake values there and detect them
later.  (As I cannot query 'what table row has toast_oid')

--
marko


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux