Renaming schema's

From: Jochem van Dieten <jochemd(at)oli(dot)tudelft(dot)nl>
To: pgsql-general(at)postgresql(dot)org
Subject: Renaming schema's
Date: 2002-12-02 00:05:55
Message-ID: 3DEAA3E3.8050902@oli.tudelft.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nic Ferrier 2002-12-02 00:18:55 elisp for managing functions
Previous Message Han Holl 2002-12-01 22:39:29 Re: Memory leak with palloc