Re: function "XXX" already exists with same argument types

Поиск
Список
Период
Сортировка
От Alexander Farber
Тема Re: function "XXX" already exists with same argument types
Дата
Msg-id CAADeyWiQJVZ-5ZCK8gYo6H9at_ztfGHN-PXToj8E0ERYTjV2Cg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: function "XXX" already exists with same argument types  (Michael Glaesemann <grzm@seespotcode.net>)
Ответы Re: function "XXX" already exists with same argument types
Re: function "XXX" already exists with same argument types
Список pgsql-general
Thank you Michael, but no -

On Wed, Oct 5, 2011 at 5:24 PM, Michael Glaesemann <grzm@seespotcode.net> wrote:
>> psql:pref-2011-10-05-a.sql:339: ERROR:  function "pref_update_match"
>> already exists with same argument types
>> ALTER FUNCTION
>
> Likely someone mistakenly added the functions to template1 of the machine you're restoring onto and they're getting
addedto the new database when it's created. 

# psql -U postgres -W template1
Password for user postgres:
psql (8.4.7)
Type "help" for help.

template1=# \df
                       List of functions
 Schema | Name | Result data type | Argument data types | Type
--------+------+------------------+---------------------+------
(0 rows)

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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: function "XXX" already exists with same argument types
Следующее
От: Raghavendra
Дата:
Сообщение: Re: Restoring 2 Tables From All Databases Backup