Re: BUG #4533: Plpgsql complex type failure
От
Tom Lane
Тема
Re: BUG #4533: Plpgsql complex type failure
Дата
Msg-id
29335.1227379061@sss.pgh.pa.us
Ответ на
BUG #4533: Plpgsql complex type failure (Rod Taylor)
Список
Дерево обсуждения
BUG #4533: Plpgsql complex type failure "Rod Taylor" <rod.taylor@gmail.com>
Re: BUG #4533: Plpgsql complex type failure Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #4533: Plpgsql complex type failure "Rod Taylor" <rod.taylor@gmail.com>
Re: BUG #4533: Plpgsql complex type failure Tom Lane <tgl@sss.pgh.pa.us>
"Rod Taylor" writes:
> DECLARE
> v_time timestamp_with_precision;
> BEGIN
> SELECT (CURRENT_DATE, 'day')::timestamp_with_precision
> INTO v_time;
You're overthinking the problem, it should just read
SELECT CURRENT_DATE, 'day'
INTO v_time;
regards, tom laneВ списке pgsql-bugs по дате отправления