Skip site navigation (1) Skip section navigation (2)

Re: "blah" is not a domain error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: "blah" is not a domain error
Date: 2006-05-26 23:24:50
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
"Jim C. Nasby" <jnasby(at)pervasive(dot)com> writes:
> Shouldn't it be an error to create a domain that conflicts with an existing
> type?

It is, if you create it in the same schema.  "money", along with all the
other built-in types, is in pg_catalog not public.

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2006-05-26 23:50:29
Subject: Re: BUG #2424: initdb Did Not Escape the Password
Previous:From: Jim C. NasbyDate: 2006-05-26 21:44:29
Subject: Re: "blah" is not a domain error

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group