From: | Duane Lee - EGOVX <DLee(at)mail(dot)maricopa(dot)gov> |
---|---|
To: | "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Duane Lee - EGOVX <DLee(at)mail(dot)maricopa(dot)gov> |
Cc: | "PG General (E-mail)" <pgsql-general(at)postgresql(dot)org>, "PGADMIN (E-mail)" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: [GENERAL] Help in finding the error |
Date: | 2004-06-09 18:31:19 |
Message-ID: | 64EDC403A1417B4299488BAE87CA7CBF01CD0E67@maricopa_xcng0 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
I'm on 7.4.2. I did some more testing and ended up dropping and recreating
the table with all the constraints, etc. in the definition and tried my
inserts, INSERT...SELECT..., and it worked just fine. I probably had
something else set that I didn't want set that was causing my problems. But
still, I would like to know where I might go in the catalog to find the info
about "relation with OID xxxx".
For the most part I'll chalk up my problem to my lack of experience with
Postgres. All in all I'm impressed with what it can do having come from a
DB2 on the mainframe background.
Thanks,
Duane
-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Tuesday, June 08, 2004 10:32 PM
To: Duane Lee - EGOVX
Cc: PG General (E-mail); PGADMIN (E-mail)
Subject: Re: [GENERAL] Help in finding the error
Duane Lee - EGOVX <DLee(at)mail(dot)maricopa(dot)gov> writes:
> I'm trying to insert data into an empty table but I keep getting the
error:
> ERROR: could not open relation with OID 42939
More detail please? For starters, what PG version is this?
> I have a couple of constraints on the table but what I'm entering doesn't
> violate those.
My crudest guesses would involve rules not constraints (specifically,
a rule that references a no-longer-extant table).
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bill Montgomery | 2004-06-09 20:12:51 | Re: Dump only part of a DB |
Previous Message | Scott Marlowe | 2004-06-09 16:53:39 | Re: Dump only part of a DB |
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2004-06-09 18:38:23 | Re: check constraint on char field |
Previous Message | Vivek Khera | 2004-06-09 18:22:41 | Re: Inet performance |