| От | Tom Lane |
|---|---|
| Тема | Re: Problem with view upgrading from 7.2 to 7.3 |
| Дата | |
| Msg-id | 10699.1047937824@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Problem with view upgrading from 7.2 to 7.3 (Michael Brusser <michael@synchronicity.com>) |
| Список | pgsql-admin |
Michael Brusser <michael@synchronicity.com> writes:
> Generally it seem to work, but it breaks while attempting to load
> one view definition. Server complains about nonexistant function -
> varchar(int), as far as I remember.
Yeah, we removed the int->varchar cast because it was redundant with
int->text, and caused operator resolution failures in some cases.
> There's no problem if I try to manually create the view in the way it was
> created in the old database:
Re-enter the view, then. The || expression will come out as text
instead of varchar; if you really want the view column to look like
it's a varchar you can do
('sync:///Note/SyncNotes/' || nt_note_name || '/'
|| nl_note_id)::varchar AS note_url
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера