From: | Sandrigo Lezcano <alkafes(at)yahoo(dot)com> |
---|---|
To: | Pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx |
Subject: | Fwd: [Pgsql-ayuda] modificar schema de todo el bd |
Date: | 2003-07-02 13:50:11 |
Message-ID: | 20030702135011.39814.qmail@web20008.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
--- Sandrigo Lezcano <alkafes(at)yahoo(dot)com> escribió: >
>
> -- Schema: "postgres" by pgAdminIII (linux)
> -- DROP SCHEMA postgres;
>
> CREATE SCHEMA postgres
> AUTHORIZATION postgres;
> REVOKE ALL ON SCHEMA postgres FROM public;
> GRANT ALL ON SCHEMA postgres TO postgres;
> COMMENT ON SCHEMA postgres IS 'parche para el
> powerbuilder namespace';
>
perdon.. no se fue todo el msg..
se creo con OID 158645 y el del public es 2200
haciendo:
rrhh=# select relname,relnamespace, reltype, relowner
from pg_class where relnamespace = 2200;
me devuelve casi 300 rows (_pkey, _seq, blabla)
puedo sustituir en pg_class todos 2200 por 158645 ???
otra pregunta q me hice fue:
no habria otro "pg_" donde pueda cambiar el nombre
'public' por 'postgres' manteniendo asi el 2200 ???
(YA hice backup!! heee...)
abrazos..
_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera Munoz | 2003-07-02 14:44:01 | Re: [Pgsql-ayuda] Variables |
Previous Message | garcil | 2003-07-02 13:44:21 | [Pgsql-ayuda] Como crear tablas desde un script |