Re: Could not open relation with OID (table partitioning issue?) - Mailing list pgsql-novice

From bakkiya
Subject Re: Could not open relation with OID (table partitioning issue?)
Date
Msg-id 1290401945180-3274944.post@n5.nabble.com
Whole thread Raw
In response to Re: Could not open relation with OID (table partitioning issue?)  (bakkiya <bakkiya@gmail.com>)
List pgsql-novice
Here is the detailed description of the problem:
select version()
"PostgreSQL 8.3.8 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC)
4.1.2 20070115 (prerelease) (SUSE Linux)"

Partition Creation Command:
 CREATE TABLE events_p_20100813100000
(
-- Inherited from table events_p_20100813100000:  evt_id uuid NOT NULL,
-- Inherited from table events_p_20100813100000:  evt_time timestamp with
time zone NOT NULL,
  CONSTRAINT events_p_20100813100000_dc CHECK (evt_time > '2010-08-12
10:43:51.901978+05:30'::timestamp with time zone AND evt_time <= '2010-08-13
10:43:51.901978+05:30'::timestamp with time zone)

)
INHERITS (events)
WITH (
  OIDS=FALSE
);

Drop command:
DROP TABLE events_p_20100813100000;

Select query:
SELECT
    *
FROM
    events
WHERE

    AND (events.evt_time >= '2010-10-11 00:00:00'
    AND events.evt_time <= '2010-10-11 23:59:00')

This table has 330 columns, though I have provided only 2 columns
here.Please let us know, if you need any more details:
--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Could-not-open-relation-with-OID-table-partitioning-issue-tp3265708p3274944.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.

pgsql-novice by date:

Previous
From: bakkiya raj
Date:
Subject: Re: Could not open relation with OID (table partitioning issue?)
Next
From: richard terry
Date:
Subject: Help with date query