Re: ERROR: invalid value "????" for "YYYY" - Mailing list pgsql-general

From Rowan Collins
Subject Re: ERROR: invalid value "????" for "YYYY"
Date
Msg-id 5254821D.6050007@gmail.com
Whole thread Raw
In response to Re: ERROR: invalid value "????" for "YYYY"  (Rowan Collins <rowan.collins@gmail.com>)
List pgsql-general
On 08/10/2013 23:03, Rowan Collins wrote:
> With tables_with_dates As (
>     select table_name, to_date(right(table_name, 8), 'YYYYMMDD') blah
>     from information_schema.tables
>     where table_schema = '????'
>     and table_catalog = '????'
> )
> Select table_name, blah
> Where blah > '2013-01-01'::date

Oops, there should be a "From tables_with_dates" in there, obviously :|
--
Rowan Collins
[IMSoP]


pgsql-general by date:

Previous
From: Rowan Collins
Date:
Subject: Re: ERROR: invalid value "????" for "YYYY"
Next
From: "Gabriel E. Sánchez Martínez"
Date:
Subject: Re: Many thousands of partitions