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

Re: pg_largeobject and toast

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: yamt(at)mwd(dot)biglobe(dot)ne(dot)jp (YAMAMOTO Takashi)
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: pg_largeobject and toast
Date: 2010-12-17 15:01:57
Message-ID: 29297.1292598117@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
yamt(at)mwd(dot)biglobe(dot)ne(dot)jp (YAMAMOTO Takashi) writes:
> what's a supposed way for a user to create a toast table?
> the comment in include/storage/large_object.h
> ("unless the user creates a toast-table for pg_largeobject...")
> made me think there's a way, but i couldn't find one.

At one time there was an actual command ALTER TABLE foo CREATE TOAST TABLE
(or something close to that, don't recall the exact spelling) that
in principle could have been invoked on pg_largeobject.  That's not
there anymore, but as you say it's still possible for pg_largeobject
to acquire a toast table if you're willing to perform random ALTERs
on it.  It's not recommended of course; given the usage of the table,
it could only be a performance loss.

			regards, tom lane

In response to

Responses

pgsql-novice by date

Next:From: Mladen GogalaDate: 2010-12-17 17:28:12
Subject: Re: Pgstatindex and leaf fragmentation.
Previous:From: YAMAMOTO TakashiDate: 2010-12-17 04:48:28
Subject: pg_largeobject and toast

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