PostgreSQL on Solaris: Changing Compilers During Point Upgrade

Поиск
Список
Период
Сортировка
От Thomas F. O'Connell
Тема PostgreSQL on Solaris: Changing Compilers During Point Upgrade
Дата
Msg-id 9F2CF4BF-5EF4-4FFE-9475-8526BD632E77@o.ptimized.com
обсуждение исходный текст
Ответы Re: PostgreSQL on Solaris: Changing Compilers During Point Upgrade  (Andrew Sullivan <ajs@crankycanuck.ca>)
Re: PostgreSQL on Solaris: Changing Compilers During Point Upgrade  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I'm working on a system where postgres 8.2.1 was built from source on Solaris 10 using gcc. Based on a number of recommendations, we decided to rebuild postgres Sun Studio cc. Without changing platforms, I wouldn't've expected the compiler to make a difference, but we just built 8.2.2 from source using cc, and now we're seeing this type of error in the logs:

ERROR:  attribute 3 has wrong type
DETAIL:  Table has type character varying, but query expects character varying.

Is changing compilers under postgres on the same platform without a dump/reload a Bad Idea?

More important: Has this risked any catastrophic data corruption? If we just switch to a gcc 8.2.2, will we be fine?

--
Thomas F. O'Connell

optimizing modern web applications
: for search engines, for usability, and for performance :

615-260-0005

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

Предыдущее
От: "Ümit Öztosun"
Дата:
Сообщение: Re: Very strange error
Следующее
От: Tom Lane
Дата:
Сообщение: Re: create operator class problem