Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 2783D9E8852; Wed, 9 May 2012 11:49:34 -0300 (ADT) Received: from dub0-omc1-s22.dub0.hotmail.com ([157.55.0.221]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SS8Cl-0002ru-JP; Wed, 09 May 2012 14:49:33 +0000 Received: from DUB116-W2 ([157.55.0.237]) by dub0-omc1-s22.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 9 May 2012 07:49:12 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_c8c2f1cc-0e23-4a75-876c-17ce326080f0_" X-Originating-IP: [189.237.23.224] From: Elizandro Gallegos To: , Subject: FW: pg_dump: schema with OID 2200 does not exist Date: Wed, 9 May 2012 14:49:12 +0000 Importance: Normal In-Reply-To: <4FAA7815.2000900@gmail.com> References: <4FAA7815.2000900@gmail.com> MIME-Version: 1.0 X-OriginalArrivalTime: 09 May 2012 14:49:12.0538 (UTC) FILETIME=[E5DC7BA0:01CD2DF2] X-Pg-Spam-Score: -0.9 (/) X-Archive-Number: 201205/48 X-Sequence-Number: 39537 --_c8c2f1cc-0e23-4a75-876c-17ce326080f0_ Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: quoted-printable =20 Hello Please can I be removed from the mailing list=2C and I receive many emails= like this thanks =20 =B4LIZAND=F1O GALLEGOS V.=20 =20 =20 > Date: Wed=2C 9 May 2012 09:58:45 -0400 > From: chander.ganesan@gmail.com > To: pgsql-admin@postgresql.org > Subject: [ADMIN] pg_dump: schema with OID 2200 does not exist >=20 > Hi All=2C >=20 > I'm running into a weird issue with PostgreSQL 9.1.3 and PostGIS 2.0=20 > when trying to dump a table - no matter what table I try to dump in this= =20 > database=2C I find that I get the same error=2C as evidenced below (scrol= l=20 > down for relevant data/error output.) >=20 > Any ideas as to what might be the root cause of it ? >=20 > The error=2C and some output from relevant queries is below. In this=20 > case=2C those things that are "supposed" to live in 2200 seem to be some= =20 > PostGIS related tables and views - which were moved after installation=20 > (IIRC) using the alter extension statement (moved into the PostGIS=20 > schema.) Though the original public schema still exists... >=20 > I've got another database (also with postgis 2.0 installed) where it's=20 > not possible for some reason to dump the postgis.spatial_ref_sys table=20 > (dumps return nothing=2C though I can query the table directly.) >=20 > Thanks >=20 > Chander >=20 > (erma)chander@ermadev2:/data/dwhresponder/ERMA/logs$ pg_dump -t=20 > arctic.data_layer erma >=20 > pg_dump: schema with OID 2200 does not exist >=20 > (erma)chander@ermadev2:/data/dwhresponder/ERMA/logs$ psql erma >=20 > psql (9.1.3) >=20 > Type "help" for help. >=20 > erma=3D# \pset pager >=20 > erma=3D# select oid=2C* from pg_namespace =3B >=20 > oid | nspname | nspowner |=20 > =20 > nspacl >=20 > ---------+--------------------+----------+-------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= --------------------------------------------------- >=20 > 11125 | pg_toast_temp_1 | 10 | {postgres=3DUC/postgres} >=20 > 11 | pg_catalog | 10 |=20 > {postgres=3DUC/postgres=2C=3DU/postgres} >=20 > 11394 | information_schema | 10 |=20 > {postgres=3DUC/postgres=2C=3DU/postgres} >=20 > 99 | pg_toast | 10 | {postgres=3DUC/postgres} >=20 > 19061 | postgis | 16384 |=20 > {chander=3DUC/chander=2Cerma_test_arctic=3DU/chander=2Cerma_arctic=3DU/ch= ander=2Cerma_atlantic=3DU/chander=2Cerma_caribbean=3DU/chander=2Cerma_firer= esponse=3DU/chander=2Cerma_gomex=3DU/chander=2Cerma_newengland=3DU/chander= =2Cerma_southwest=3DU/chander=2Cerma_pacific=3DU/chander=2Cerma_northwest= =3DU/chander=2Cerma_gulfofmexico=3DU/chander} >=20 > 11124 | pg_temp_1 | 10 | {postgres=3DUC/postgres} >=20 > 6887848 | pacific | 16384 |=20 > {chander=3DUC/chander=2Cerma_pacific=3DUC/chander} >=20 > 7163349 | gulfofmexico | 16384 |=20 > {chander=3DUC/chander=2Cerma_gomex=3DUC/chander=2Cerma_gulfofmexico=3DUC/= chander} >=20 > 6292634 | arctic | 16384 |=20 > {chander=3DUC/chander=2Cerma_test_arctic=3DU/chander=2Cerma_arctic=3DUC/c= hander} >=20 > 6834227 | newengland | 16384 |=20 > {chander=3DUC/chander=2Cerma_newengland=3DUC/chander} >=20 > 7114095 | southwest | 16384 |=20 > {chander=3DUC/chander=2Cerma_southwest=3DUC/chander} >=20 > 5973178 | public | 16384 |=20 > {chander=3DUC/chander=2C=3DU/chander=2Cerma_test_arctic=3DU/chander=2Cerm= a_arctic=3DU/chander=2Cerma_atlantic=3DU/chander=2Cerma_caribbean=3DU/chand= er=2Cerma_fireresponse=3DU/chander=2Cerma_gomex=3DU/chander=2Cerma_newengla= nd=3DU/chander=2Cerma_southwest=3DU/chander=2Cerma_pacific=3DU/chander=2Cer= ma_northwest=3DU/chander=2Cerma_gulfofmexico=3DU/chander} >=20 > 6982864 | northwest | 16384 |=20 > {chander=3DUC/chander=2Cerma_northwest=3DUC/chander} >=20 > 6708470 | caribbean | 16384 |=20 > {chander=3DUC/chander=2Cerma_caribbean=3DUC/chander} >=20 > 6795143 | fireresponse | 16384 |=20 > {chander=3DUC/chander=2Cerma_fireresponse=3DUC/chander} >=20 > 18916 | topology | 16384 |=20 > {chander=3DUC/chander=2Cerma_test_arctic=3DU/chander=2Cerma_arctic=3DU/ch= ander=2Cerma_atlantic=3DU/chander=2Cerma_caribbean=3DU/chander=2Cerma_firer= esponse=3DU/chander=2Cerma_gomex=3DU/chander=2Cerma_newengland=3DU/chander= =2Cerma_southwest=3DU/chander=2Cerma_pacific=3DU/chander=2Cerma_northwest= =3DU/chander=2Cerma_gulfofmexico=3DU/chander} >=20 > 6785026 | atlantic | 16384 |=20 > {chander=3DUC/chander=2Cerma_atlantic=3DUC/chander} >=20 > (17 rows) >=20 > erma=3D# SELECT tableoid=2C oid=2C typname=2C typnamespace=2C (SELECT rol= name FROM=20 > pg_catalog.pg_roles WHERE oid =3D typowner) AS rolname=2C typinput::oid A= S=20 > typinput=2C typoutput::oid AS typoutput=2C typelem=2C typrelid=2C CASE WH= EN=20 > typrelid =3D 0 THEN ' '::"char" ELSE (SELECT relkind FROM pg_class WHERE= =20 > oid =3D typrelid) END AS typrelkind=2C typtype=2C typisdefined=2C typname= [0] =3D=20 > '_' AND typelem !=3D 0 AND (SELECT typarray FROM pg_type te WHERE oid =3D= =20 > pg_type.typelem) =3D oid AS isarray FROM pg_type where typnamespace=3D220= 0 > =3B > tableoid | oid | typname | typnamespace | rolname |=20 > typinput | typoutput | typelem | typrelid | typrelkind | typtype |=20 > typisdefined | isarray > ----------+-------+--------------------+--------------+---------+--------= --+-----------+---------+----------+------------+---------+--------------+-= -------- > 1247 | 18045 | spatial_ref_sys | 2200 | chander |=20 > 2290 | 2291 | 0 | 18043 | r | c | t=20 > | f > 1247 | 18044 | _spatial_ref_sys | 2200 | chander |=20 > 750 | 751 | 18045 | 0 | | b | t=20 > | t > 1247 | 18351 | geography_columns | 2200 | chander |=20 > 2290 | 2291 | 0 | 18349 | v | c | t=20 > | f > 1247 | 18350 | _geography_columns | 2200 | chander |=20 > 750 | 751 | 18351 | 0 | | b | t=20 > | t > 1247 | 18455 | geometry_columns | 2200 | chander |=20 > 2290 | 2291 | 0 | 18453 | v | c | t=20 > | f > 1247 | 18454 | _geometry_columns | 2200 | chander |=20 > 750 | 751 | 18455 | 0 | | b | t=20 > | t > 1247 | 18897 | raster_columns | 2200 | chander |=20 > 2290 | 2291 | 0 | 18895 | v | c | t=20 > | f > 1247 | 18896 | _raster_columns | 2200 | chander |=20 > 750 | 751 | 18897 | 0 | | b | t=20 > | t > 1247 | 18906 | raster_overviews | 2200 | chander |=20 > 2290 | 2291 | 0 | 18904 | v | c | t=20 > | f > 1247 | 18905 | _raster_overviews | 2200 | chander |=20 > 750 | 751 | 18906 | 0 | | b | t=20 > | t > (10 rows) >=20 >=20 > --=20 > Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-admin = --_c8c2f1cc-0e23-4a75-876c-17ce326080f0_ Content-Type: text/html; charset="koi8-u" Content-Transfer-Encoding: quoted-printable


 =3B
 =3BHello

Please can I be removed from the mailing list=2C= and I receive many emails like this
thanks
 =3B
 =3B =B4LIZAND=F1O =3BGALLEGOS =3BV. =3B






 =3B

 =3B

 =3B

>=3B Date: Wed=2C 9 May 2012 09:58:45 -04= 00
>=3B From: chander.ganesan@gmail.com
>=3B To: pgsql-admin@post= gresql.org
>=3B Subject: [ADMIN] pg_dump: schema with OID 2200 does no= t exist
>=3B
>=3B Hi All=2C
>=3B
>=3B I'm running int= o a weird issue with PostgreSQL 9.1.3 and PostGIS 2.0
>=3B when tryin= g to dump a table - no matter what table I try to dump in this
>=3B d= atabase=2C I find that I get the same error=2C as evidenced below (scroll <= br>>=3B down for relevant data/error output.)
>=3B
>=3B Any id= eas as to what might be the root cause of it ?
>=3B
>=3B The err= or=2C and some output from relevant queries is below. In this
>=3B c= ase=2C those things that are "supposed" to live in 2200 seem to be some >=3B PostGIS related tables and views - which were moved after installat= ion
>=3B (IIRC) using the alter extension statement (moved into the P= ostGIS
>=3B schema.) Though the original public schema still exists.= ..
>=3B
>=3B I've got another database (also with postgis 2.0 in= stalled) where it's
>=3B not possible for some reason to dump the pos= tgis.spatial_ref_sys table
>=3B (dumps return nothing=2C though I can= query the table directly.)
>=3B
>=3B Thanks
>=3B
>= =3B Chander
>=3B
>=3B (erma)chander@ermadev2:/data/dwhresponder/= ERMA/logs$ pg_dump -t
>=3B arctic.data_layer erma
>=3B
>= =3B pg_dump: schema with OID 2200 does not exist
>=3B
>=3B (erma= )chander@ermadev2:/data/dwhresponder/ERMA/logs$ psql erma
>=3B
>= =3B psql (9.1.3)
>=3B
>=3B Type "help" for help.
>=3B
&= gt=3B erma=3D# \pset pager
>=3B
>=3B erma=3D# select oid=2C* fro= m pg_namespace =3B
>=3B
>=3B oid | nspname | ns= powner |
>=3B
>=3B = nspacl
>=3B
>=3B ---------+--------------------+--------= --+------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ----------
>=3B
>=3B 11125 | pg_toast_temp_1 | 10 |= {postgres=3DUC/postgres}
>=3B
>=3B 11 | pg_catalog = | 10 |
>=3B {postgres=3DUC/postgres=2C=3DU/postgres}
>= =3B
>=3B 11394 | information_schema | 10 |
>=3B {post= gres=3DUC/postgres=2C=3DU/postgres}
>=3B
>=3B 99 | pg_toa= st | 10 | {postgres=3DUC/postgres}
>=3B
>=3B = 19061 | postgis | 16384 |
>=3B {chander=3DUC/chander= =2Cerma_test_arctic=3DU/chander=2Cerma_arctic=3DU/chander=2Cerma_atlantic= =3DU/chander=2Cerma_caribbean=3DU/chander=2Cerma_fireresponse=3DU/chander= =2Cerma_gomex=3DU/chander=2Cerma_newengland=3DU/chander=2Cerma_southwest=3D= U/chander=2Cerma_pacific=3DU/chander=2Cerma_northwest=3DU/chander=2Cerma_gu= lfofmexico=3DU/chander}
>=3B
>=3B 11124 | pg_temp_1 = | 10 | {postgres=3DUC/postgres}
>=3B
>=3B 6887848 | pac= ific | 16384 |
>=3B {chander=3DUC/chander=2Cerma_pacifi= c=3DUC/chander}
>=3B
>=3B 7163349 | gulfofmexico | 16= 384 |
>=3B {chander=3DUC/chander=2Cerma_gomex=3DUC/chander=2Cerma_gul= fofmexico=3DUC/chander}
>=3B
>=3B 6292634 | arctic = | 16384 |
>=3B {chander=3DUC/chander=2Cerma_test_arctic=3DU/chand= er=2Cerma_arctic=3DUC/chander}
>=3B
>=3B 6834227 | newengland = | 16384 |
>=3B {chander=3DUC/chander=2Cerma_newengland=3DU= C/chander}
>=3B
>=3B 7114095 | southwest | 16384 |=
>=3B {chander=3DUC/chander=2Cerma_southwest=3DUC/chander}
>=3B =
>=3B 5973178 | public | 16384 |
>=3B {chander= =3DUC/chander=2C=3DU/chander=2Cerma_test_arctic=3DU/chander=2Cerma_arctic= =3DU/chander=2Cerma_atlantic=3DU/chander=2Cerma_caribbean=3DU/chander=2Cerm= a_fireresponse=3DU/chander=2Cerma_gomex=3DU/chander=2Cerma_newengland=3DU/c= hander=2Cerma_southwest=3DU/chander=2Cerma_pacific=3DU/chander=2Cerma_north= west=3DU/chander=2Cerma_gulfofmexico=3DU/chander}
>=3B
>=3B 69= 82864 | northwest | 16384 |
>=3B {chander=3DUC/chander=2C= erma_northwest=3DUC/chander}
>=3B
>=3B 6708470 | caribbean = | 16384 |
>=3B {chander=3DUC/chander=2Cerma_caribbean=3DUC/c= hander}
>=3B
>=3B 6795143 | fireresponse | 16384 | >=3B {chander=3DUC/chander=2Cerma_fireresponse=3DUC/chander}
>=3B =
>=3B 18916 | topology | 16384 |
>=3B {chander= =3DUC/chander=2Cerma_test_arctic=3DU/chander=2Cerma_arctic=3DU/chander=2Cer= ma_atlantic=3DU/chander=2Cerma_caribbean=3DU/chander=2Cerma_fireresponse=3D= U/chander=2Cerma_gomex=3DU/chander=2Cerma_newengland=3DU/chander=2Cerma_sou= thwest=3DU/chander=2Cerma_pacific=3DU/chander=2Cerma_northwest=3DU/chander= =2Cerma_gulfofmexico=3DU/chander}
>=3B
>=3B 6785026 | atlantic= | 16384 |
>=3B {chander=3DUC/chander=2Cerma_atlantic=3D= UC/chander}
>=3B
>=3B (17 rows)
>=3B
>=3B erma=3D# SE= LECT tableoid=2C oid=2C typname=2C typnamespace=2C (SELECT rolname FROM >=3B pg_catalog.pg_roles WHERE oid =3D typowner) AS rolname=2C typinput:= :oid AS
>=3B typinput=2C typoutput::oid AS typoutput=2C typelem=2C ty= prelid=2C CASE WHEN
>=3B typrelid =3D 0 THEN ' '::"char" ELSE (SELECT= relkind FROM pg_class WHERE
>=3B oid =3D typrelid) END AS typrelkind= =2C typtype=2C typisdefined=2C typname[0] =3D
>=3B '_' AND typelem != =3D 0 AND (SELECT typarray FROM pg_type te WHERE oid =3D
>=3B pg_type= .typelem) =3D oid AS isarray FROM pg_type where typnamespace=3D2200
>= =3B =3B
>=3B tableoid | oid | typname | typnamespace | = rolname |
>=3B typinput | typoutput | typelem | typrelid | typrelkind= | typtype |
>=3B typisdefined | isarray
>=3B ----------+-------= +--------------------+--------------+---------+----------+-----------+-----= ----+----------+------------+---------+--------------+---------
>=3B = 1247 | 18045 | spatial_ref_sys | 2200 | chander |
>= =3B 2290 | 2291 | 0 | 18043 | r | c | t
&g= t=3B | f
>=3B 1247 | 18044 | _spatial_ref_sys | 2= 200 | chander |
>=3B 750 | 751 | 18045 | 0 | = | b | t
>=3B | t
>=3B 1247 | 18351 | geography= _columns | 2200 | chander |
>=3B 2290 | 2291 | 0 = | 18349 | v | c | t
>=3B | f
>=3B 1= 247 | 18350 | _geography_columns | 2200 | chander |
>=3B 750 = | 751 | 18351 | 0 | | b | t
>=3B = | t
>=3B 1247 | 18455 | geometry_columns | 2200 | chan= der |
>=3B 2290 | 2291 | 0 | 18453 | v | c = | t
>=3B | f
>=3B 1247 | 18454 | _geometry_columns= | 2200 | chander |
>=3B 750 | 751 | 18455 | = 0 | | b | t
>=3B | t
>=3B 1247 | 1889= 7 | raster_columns | 2200 | chander |
>=3B 2290 | 22= 91 | 0 | 18895 | v | c | t
>=3B | f
&= gt=3B 1247 | 18896 | _raster_columns | 2200 | chander | >=3B 750 | 751 | 18897 | 0 | | b | t >=3B | t
>=3B 1247 | 18906 | raster_overviews | = 2200 | chander |
>=3B 2290 | 2291 | 0 | 18904 | v = | c | t
>=3B | f
>=3B 1247 | 18905 | _ras= ter_overviews | 2200 | chander |
>=3B 750 | 751 | 18= 906 | 0 | | b | t
>=3B | t
>=3B (10 = rows)
>=3B
>=3B
>=3B --
>=3B Sent via pgsql-admin ma= iling list (pgsql-admin@postgresql.org)
>=3B To make changes to your s= ubscription:
>=3B http://www.postgresql.org/mailpref/pgsql-admin
= --_c8c2f1cc-0e23-4a75-876c-17ce326080f0_--