Re: factoring problem with view in 7.3.3 [ PARTIALLY SOLVED ]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: factoring problem with view in 7.3.3 [ PARTIALLY SOLVED ]
Дата
Msg-id 13916.1058978863@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: factoring problem with view in 7.3.3 [ PARTIALLY SOLVED ]  (<mallah@trade-india.com>)
Ответы Re: factoring problem with view in 7.3.3 [ SOLVED ]  (<mallah@trade-india.com>)
Список pgsql-performance
<mallah@trade-india.com> writes:
> the column 'generated' was timestamp in 2 place and date in 2 place,
> i wanted it in my and did a typecasting in the view below
> but it suffers from the same problem .

AFAIR it should work if you insert casts into the UNION's member selects.
Maybe you didn't get the casting quite right?  (For instance,
"timestamp" isn't "timestamp with time zone" ...)

            regards, tom lane

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

Предыдущее
От:
Дата:
Сообщение: Re: factoring problem with view in 7.3.3 [ PARTIALLY SOLVED ]
Следующее
От:
Дата:
Сообщение: Re: factoring problem with view in 7.3.3 [ SOLVED ]