Re: copying databases w/ indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: copying databases w/ indexes
Дата
Msg-id 7165.1060890436@sss.pgh.pa.us
обсуждение исходный текст
Ответ на copying databases w/ indexes  (Yuji Shinozaki <ys2n@virginia.edu>)
Список pgsql-admin
Yuji Shinozaki <ys2n@virginia.edu> writes:
> See my other reply, but the problem was that I had a foreign key
> constraint between an integer and varchar. (The column was a varchar and
> the foreign key was an integer field).  Seems to me postgres shouldn't
> have allowed me to do this at all, but I guess it did a slow automatic
> type conversion.  So, reindexing was deathly slow.

There was some talk recently of spitting out a NOTICE when the
referenced columns aren't the same type as the referencing columns.
It's not done yet, but it's starting to seem like a good idea.

            regards, tom lane

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

Предыдущее
От: Yuji Shinozaki
Дата:
Сообщение: Re: copying databases w/ indexes
Следующее
От: Yuji Shinozaki
Дата:
Сообщение: Re: copying databases w/ indexes