Re: BUG #14294: Problem in generate series between dates - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #14294: Problem in generate series between dates
Date
Msg-id 29141.1472065981@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #14294: Problem in generate series between dates  (John R Pierce <pierce@hogranch.com>)
List pgsql-bugs
John R Pierce <pierce@hogranch.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

pgsql-bugs by date:

Previous
From: John R Pierce
Date:
Subject: Re: BUG #14294: Problem in generate series between dates
Next
From: Andrew Gierth
Date:
Subject: Re: BUG #14294: Problem in generate series between dates