Re: [PORTS] Port Bug Report: No primary key possible with type reltime & timestamp - Mailing list pgsql-ports

From Bruce Momjian
Subject Re: [PORTS] Port Bug Report: No primary key possible with type reltime & timestamp
Date
Msg-id 199907080323.XAA24377@candle.pha.pa.us
Whole thread Raw
In response to Port Bug Report: No primary key possible with type reltime & timestamp  (Unprivileged user <nobody>)
List pgsql-ports
Updated TODO item:

  * Creating index of TIMESTAMP & RELTIME fails, rename to DATETIME(Thomas)


> Problem Description:
> --------------------
> Error message when trying to create a table
> with a primary key on type reltime or timestamp
>
> --------------------------------------------------------------------------
>
> Test Case:
> ----------
> create table periodes ( b reltime primary key ) ;
> ERROR:  Can't find a default operator class for type 703.
>
> create table periodes ( b timestamp primary key ) ;
> ERROR:  Can't find a default operator class for type 1296.
>


--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-ports by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PORTS] Port Bug Report: calling notify in pl/pgsql proc causes core dump
Next
From: Unprivileged user
Date:
Subject: Port Bug Report: basic.source and advance.source failed