Re: [PORTS] Port Bug Report: No primary key possible with type reltime & timestamp

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Yves MARTIN <Yves.Martin@ensisun.imag.fr>
Cc: pgsql-ports@postgreSQL.org
Date: 1999-07-08T03:23:16Z
Lists: pgsql-hackers
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