EXCEPT doesn't compare TIMESTAMP type?

From: dipti shah <shahdipti1980(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: EXCEPT doesn't compare TIMESTAMP type?
Date: 2010-04-23 10:31:49
Message-ID: k2pd5b05a951004230331t2ad9c9d4ub0bcad9cf6b84ff3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi, could anyone please tell me what is wrong in below query. Does it mean
that EXCEPT doesn't allow comparing TIMESTAMP type?

techdb=# INSERT INTO changelogtest (id, txid, txtime) values (5, 123, 'now')
except select id, txid, txtime
from changelogtest
where id=5;
ERROR: EXCEPT types text and timestamp without time zone cannot be matched
LINE 2: except select id, txid, txtime
^

Thanks,
Dipti

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Grzegorz Jaśkiewicz 2010-04-23 10:34:40 Re: EXCEPT doesn't compare TIMESTAMP type?
Previous Message Craig Ringer 2010-04-23 08:43:48 Re: Multicolumn primary key with null value