Skip site navigation (1) Skip section navigation (2)

Re: BUG?: timestamp without TZ created as timestamp *with*

From: Alvaro Herrera <alvherre(at)atentus(dot)com>
To: Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: BUG?: timestamp without TZ created as timestamp *with*
Date: 2002-08-30 03:45:29
Message-ID: Pine.LNX.4.44.0208292344160.21410-100000@cm-lcon1-46-187.cm.vtr.net (view raw or flat)
Thread:
Lists: pgsql-general
Jean-Christian Imbeault dijo: 

> Tom Lane wrote:
>  >
>  >There's also a nasty little bug in the 7.2 system catalogs:
> 
> Is this error message related to that bug? The error make no sense, it's 
> complaining that the DB is expecting one data type (timstamp with TZ), 
> receiving it, but not happy with it ...

Nope.  Note that the column is of an array type.  Probably the table
declaration is an error, given the column name.

> Warning: pg_exec() query failed: ERROR: column "last_login" is of type 
> 'timestamp with time zone[]' but expression is of type 'timestamp with 
> time zone' You will need to rewrite or cast the expression in 

-- 
Alvaro Herrera (<alvherre[a]atentus.com>)
"Use it up, wear it out, make it do, or do without"


In response to

pgsql-general by date

Next:From: chinDate: 2002-08-30 04:20:39
Subject: Re: Columns in views
Previous:From: Jean-Christian ImbeaultDate: 2002-08-30 03:34:59
Subject: Re: BUG?: timestamp without TZ created as timestamp *with*

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group