Re: BUG #14294: Problem in generate series between dates

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John R Pierce <pierce(at)hogranch(dot)com>
Cc: pablopumarino(at)gmail(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14294: Problem in generate series between dates
Date: 2016-08-24 19:13:01
Message-ID: 29141.1472065981@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

John R Pierce <pierce(at)hogranch(dot)com> writes:
> the notation type 'string value' is a native constant in that type,
> while the notation 'string value'::type generates a text constant and
> typecasts it.

Actually, no, there's no difference. If the argument of ::type is
a simple string literal, it's just fed to the type's input parser.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrew Gierth 2016-08-24 19:40:45 Re: BUG #14294: Problem in generate series between dates
Previous Message John R Pierce 2016-08-24 18:59:16 Re: BUG #14294: Problem in generate series between dates