Re: Re: Replace MSSQL by PostgreSQL ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: 100(dot)179370(at)germanynet(dot)de (Martin Jacobs)
Cc: pgsql-general(at)postgresql(dot)org, Pruner Jan <pruner(at)cekia(dot)cz>
Subject: Re: Re: Replace MSSQL by PostgreSQL ?
Date: 2001-06-17 01:16:58
Message-ID: 28279.992740618@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

100(dot)179370(at)germanynet(dot)de (Martin Jacobs) writes:
> If you don't need type 'name' do
> DROP TYPE name;

This would be an exceedingly bad idea, since 'name' is used throughout
the system catalogs.

It might work to rename the type (eg, "update pg_type set typname =
'pgname' where typname = 'name'). Haven't tried that to see what
sorts of problems it might have. Would definitely recommend doing
any experimentation of this sort in a scratch database ;-)

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Ford 2001-06-17 03:23:32 Re: sysauth-pgsql / pam-pgsql port(s) ...
Previous Message Keith F Irwin 2001-06-17 01:04:37 Re: Unable to --rebuild postgresql-7.1.2-4PGDG.src.rpm