Renaming schema's - Mailing list pgsql-general

From Jochem van Dieten
Subject Renaming schema's
Date
Msg-id 3DEAA3E3.8050902@oli.tudelft.nl
Whole thread Raw
Responses Re: Renaming schema's  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I have tried to rename a schema using:

test=# update pg_catalog.pg_namespace
test-#     set nspname = 'jochemd'
test-#     where nspname = 'public';

This didn't work out very well, the schema became invisible in
pgAdminII, something I wouldn't want to do to our customers. (It was
still accessible using a schemaname.tablename notation and appeared to
work technically correct.)

Is there any way to rename a schema?

Jochem


pgsql-general by date:

Previous
From: "Han Holl"
Date:
Subject: Re: Memory leak with palloc
Next
From: Nic Ferrier
Date:
Subject: elisp for managing functions