A. Kretschmer wrote:
In response to Tom Lane :
Asher Hoskins writes:
I can't seem to get to_timestamp() or to_date() to work with quarters,
The source code says
* We ignore Q when converting to date because it is not
* normative.
*
Tom Lane wrote:
Asher Hoskins writes:
I can't seem to get to_timestamp() or to_date() to work with quarters,
The source code says
* We ignore Q when converting to date because it is not
* normative.
*
* We still parse the so
In response to Tom Lane :
> Asher Hoskins writes:
> > I can't seem to get to_timestamp() or to_date() to work with quarters,
>
> The source code says
>
> * We ignore Q when converting to date because it is not
> * normative.
> *
>
Asher Hoskins writes:
> I can't seem to get to_timestamp() or to_date() to work with quarters,
The source code says
* We ignore Q when converting to date because it is not
* normative.
*
* We still parse the source string for a
Hello.
I can't seem to get to_timestamp() or to_date() to work with quarters,
can anyone see what I'm doing wrong?
e.g.
select to_date('2010-1', '-Q');
Gives "2010-01-01" (correct).
select to_date('2010-3', '-Q');
Also gives "2010-01-01" (should be 2010