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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Timestamp Datatype Changing automatically to Timestamp without time zone


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: Rajdeep Das <sendrajster(at)gmail(dot)com>
  • Cc: pgsql-admin(at)postgresql(dot)org
  • Subject: Re: Timestamp Datatype Changing automatically to Timestamp without time zone
  • Date: Tue, 30 Jun 2009 10:29:20 -0400
  • Message-id: <17391.1246372160@sss.pgh.pa.us> <text/plain>

Rajdeep Das <sendrajster(at)gmail(dot)com> writes:
> I have taken a dump of my database from the old version of pg viz.8.1, using
> pg_dump command. In the db I have a table with a column of datatype
> 'timestamp'. Now, when I try to restore it on the new pg version 8.3, the
> datatype of the column is getting altered to 'timestamp with no time zone'.

Those are the same type.

> This change is causing my SQL to fail as TO_TIMESTAMP function is reporting
> error.

This is not what's causing your problem.  But since you gave no details,
we can't guess what your problem actually is.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group