Re: Int_aggregate/pgstattuple minor fix

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Int_aggregate/pgstattuple minor fix
Дата
Msg-id 10015.1096645197@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Int_aggregate/pgstattuple minor fix  ("Dave Page" <dpage@vale-housing.co.uk>)
Список pgsql-patches
"Dave Page" <dpage@vale-housing.co.uk> writes:
> The patch below removes attempts to drop objects before creating them
> from the int_aggregate and pgstattuple SQL scripts. This causes the
> script to fail on databases where the affected objects don't already
> exist when the script is executed by the Win32 installer, pgAdmin or any
> other interface that executes scripts 'as-is'. None of the other contrib
> scripts appear do this.

Seems reasonable.  You could also make the argument that the DROPs
actually risk dropping the wrong object, since they could find a
matching name in the schema search path that is not in the current
schema (and thus not really a conflict).

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Preliminary patch for FRONTEND
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: LDFLAGS overriding