Re: default_language

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: default_language
Дата
Msg-id 21396.1264370650@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: default_language  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: default_language  ("David E. Wheeler" <david@kineticode.com>)
Re: default_language  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> I would actually lean the other way and say that we shouldn't be
> introducing behavior-changing GUCs (except for the special case of
> supporting legacy behavior, like standard_conforming_strings).

Yeah --- GUCs that affect semantics (as opposed to performance) of SQL
constructs have many downsides, as we have found out over the years.
I'm not seeing that this idea has enough usefulness to justify the
risks.

> If we have a default (for DO and CREATE FUNCTION), why not hard-wire the
> default to plpgsql?

I don't see any strong argument for having a default for CREATE
FUNCTION.  The original argument for having a GUC for DO was that
plpgsql wasn't built in; now that it is, I think a case could
be made for dropping default_do_language in favor of a hardwired
default.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: further explain changes
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: default_language