Re: patch: preload dictionary new version

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: patch: preload dictionary new version
Дата
Msg-id 12652.1278907329@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: patch: preload dictionary new version  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Ответы Re: patch: preload dictionary new version  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Itagaki Takahiro <itagaki.takahiro@gmail.com> writes:
> 2010/7/8 Tom Lane <tgl@sss.pgh.pa.us>:
>> For example, the dictionary-load code could automatically execute
>> the precompile step if it observed that the precompiled copy of the
>> dictionary was missing or had an older file timestamp than the source.

> There might be a problem in automatic precompiler -- Where should we
> save the result? OS users of postgres servers don't have write-permission
> to $PGSHARE in normal cases. Instead, we can store the precompiled
> result to $PGDATA/pg_dict_cache or so.

Yeah.  Actually we'd *have* to do something like that because $PGSHARE
should contain only architecture-independent files, while the
precompiled files would presumably have dependencies on endianness etc.
        regards, tom lane


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

Предыдущее
От: Itagaki Takahiro
Дата:
Сообщение: Re: patch (for 9.1) string functions
Следующее
От: KaiGai Kohei
Дата:
Сообщение: Re: Reworks of DML permission checks