Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > operator does n...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3699 of 3904
Post > Topic >>

operator does not exist: timestamp w/out timezone (similar to bug

by nomaps@[EMAIL PROTECTED] (philwalk) Apr 11, 2008 at 08:53 PM

-- Easy to duplicate on 3 different operating systems, by executing the
-- following script via psql -f pg83bug.sql

-- begin script pg83bug.sql

\set VERBOSITY verbose;

drop table if exists bugtab;

select version();

create table bugtab (
  date      timestamp without time zone not null
 ,pnum      numeric
);

update bugtab set
    pnum = -8.6
    where date like '2007-01-19%';

-- end script pg83bug.sql

The error message re****ted on 3 different operating systems:

DROP TABLE

version                                                 
--------------------------------------------------------------------------------------------------------
 PostgreSQL 8.3.0 on i686-redhat-linux-gnu, compiled by GCC gcc (GCC)
4.1.2 20070925 (Red Hat 4.1.2-33)
(1 row)

CREATE TABLE
psql:pg83bug.sql:16: ERROR:  operator does not exist: timestamp without
time zone ~~ unknown
LINE 3:     where date like '2007-01-19%';
                       ^
HINT:  No operator matches the given name and argument type(s). You
might need to add explicit type casts.


DROP TABLE

version                                            
-----------------------------------------------------------------------------------------------
 PostgreSQL 8.3.1 on i486-pc-linux-gnu, compiled by GCC cc (GCC) 4.2.3
(Ubuntu 4.2.3-2ubuntu4)
(1 row)

CREATE TABLE
psql:pg83bug.sql:16: ERROR:  operator does not exist: timestamp without
time zone ~~ unknown
LINE 3:     where date like '2007-01-19%';
                       ^
HINT:  No operator matches the given name and argument type(s). You
might need to add explicit type casts.


DROP TABLE
                       version                       
-----------------------------------------------------
 PostgreSQL 8.3.0, compiled by Visual C++ build 1400
(1 row)

CREATE TABLE
psql:pg83bug.sql:16: ERROR:  operator does not exist: timestamp without
time zone ~~ unknown at character 50
HINT:  No operator matches the given name and argument type(s). You
might need to add explicit type casts.
psql:pg83bug.sql:16: LINE 3:     where date like '2007-01-19%';
psql:pg83bug.sql:16:




-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
 




 2 Posts in Topic:
operator does not exist: timestamp w/out timezone (similar to bu
nomaps@[EMAIL PROTECTED]   2008-04-11 20:53:40 
Re: operator does not exist: timestamp w/out timezone (similar t
guillaume.smet@[EMAIL PRO  2008-04-12 10:47:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Tue Jul 8 23:24:42 CDT 2008.