Re: [HACKERS] Error "vacuum pg_proc"

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Error "vacuum pg_proc"
Дата
Msg-id 199912270336.WAA28667@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Error "vacuum pg_proc"  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] Error "vacuum pg_proc"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> It turns out that for an index on a single text column, the maximum
> >> safe text length is 2700 bytes.
> 
> > This is another argument to try and get long tuples into 7.0.
> 
> I think Jan might have enough on his plate already without trying to
> TOAST the index code along with the plain-table code.  But if he can
> get it done, great!
> 
> One thing this does bring up is that the maximum safe tuple length is
> dependent on the index or table type.  The toaster's API had better
> be designed accordingly...

In talking to Jan, the index code will make use of the toast entries
automatically.  He said the heap_insert will do any toasting, and after
that the tuple already has any toast pointers, and that gets inserted
into the index.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Error "vacuum pg_proc"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Error "vacuum pg_proc"