Re: [GENERAL] Composite type operator not unique

2010-10-06 Thread Trigve
On 6. Okt, 08:48 h., Trigve wrote: > Hi, > I'm trying to make a custom composite type and use it as a PK and FK. > When adding FK to table I've got trhis error: operator is not unique: > "BigintRef" pg_catalog.= "BigintRef" (see below). Here is my type > definition with operator: > > CREATE TYPE "

Re: [GENERAL] Composite type operator not unique

2010-10-06 Thread Merlin Moncure
On Wed, Oct 6, 2010 at 2:48 AM, Trigve wrote: > Hi, > I'm trying to make a custom composite type and use it as a PK and FK. > When adding FK to table I've got trhis error: operator is not unique: > "BigintRef" pg_catalog.= "BigintRef" (see below). Here is my type > definition with operator: > > CR

[GENERAL] Composite type operator not unique

2010-10-06 Thread Trigve
Hi, I'm trying to make a custom composite type and use it as a PK and FK. When adding FK to table I've got trhis error: operator is not unique: "BigintRef" pg_catalog.= "BigintRef" (see below). Here is my type definition with operator: CREATE TYPE "BigintRef" AS ("Value" bigint, "Null" bool