Re: pg_execute_from_file review

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: pg_execute_from_file review
Дата
Msg-id 97049D9D-9AFA-4EF9-93EB-7B2B43FEAF83@kineticode.com
обсуждение исходный текст
Ответ на Re: pg_execute_from_file review  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_execute_from_file review  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Dec 6, 2010, at 10:43 AM, Tom Lane wrote:

> That's an interesting idea, but I'm not sure it's wise to design around
> the assumption that we won't need substitutions ever.  What I was
> thinking was that we should try to limit knowledge of the substitution
> behavior to the extension definition files and the implementation of
> CREATE EXTENSION itself.  I don't agree with exposing that information
> at the SQL level.
>
> (On the other hand, if we *could* avoid using any explicit
> substitutions, it would certainly ease testing of extension files no?
> They'd be sourceable into psql then.)

Yes. And extension authors would not have to remember to include the magic line (which at any rate would break
extensionsfor earlier versions of PostgreSQL). 

Best,

dAvid

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: WIP patch for parallel pg_dump
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: WIP patch for parallel pg_dump