timestamp column default changed?

Started by Laurette Cisnerosover 23 years ago6 messages
#1Laurette Cisneros
laurette@nextbus.com

If you define a column as:
col timestamp
In 7.2.x didn't it default to timestamp with timezone?

And now in 7.3(b1) it defaults to timestamp without timezone?

Is this right?

--
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
----------------------------------
A wiki we will go...

#2Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Laurette Cisneros (#1)
Re: timestamp column default changed?

Laurette Cisneros wrote:

If you define a column as:
col timestamp
In 7.2.x didn't it default to timestamp with timezone?

And now in 7.3(b1) it defaults to timestamp without timezone?

/HISTORY says right at the top:

* TIMESTAMP and TIME data types now default to WITHOUT TIMEZONE

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
#3Laurette Cisneros
laurette@nextbus.com
In reply to: Bruce Momjian (#2)
Re: timestamp column default changed?

I'm sure you all have discussed this ad-nauseum but this sure does create a
pain in the butt when converting.

Ok, I had my say.

Thanks for all your hard work,

L.
On Wed, 11 Sep 2002, Bruce Momjian wrote:

Laurette Cisneros wrote:

If you define a column as:
col timestamp
In 7.2.x didn't it default to timestamp with timezone?

And now in 7.3(b1) it defaults to timestamp without timezone?

/HISTORY says right at the top:

* TIMESTAMP and TIME data types now default to WITHOUT TIMEZONE

--
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
----------------------------------
A wiki we will go...

#4Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Laurette Cisneros (#3)
Re: timestamp column default changed?

I think the SQL standards required the change.

---------------------------------------------------------------------------

Laurette Cisneros wrote:

I'm sure you all have discussed this ad-nauseum but this sure does create a
pain in the butt when converting.

Ok, I had my say.

Thanks for all your hard work,

L.
On Wed, 11 Sep 2002, Bruce Momjian wrote:

Laurette Cisneros wrote:

If you define a column as:
col timestamp
In 7.2.x didn't it default to timestamp with timezone?

And now in 7.3(b1) it defaults to timestamp without timezone?

/HISTORY says right at the top:

* TIMESTAMP and TIME data types now default to WITHOUT TIMEZONE

--
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
----------------------------------
A wiki we will go...

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
#5Laurette Cisneros
laurette@nextbus.com
In reply to: Bruce Momjian (#4)
Re: timestamp column default changed?

I understand. Thanks for pointing that out.

L.
On Wed, 11 Sep 2002, Bruce Momjian wrote:

I think the SQL standards required the change.

---------------------------------------------------------------------------

Laurette Cisneros wrote:

I'm sure you all have discussed this ad-nauseum but this sure does create a
pain in the butt when converting.

Ok, I had my say.

Thanks for all your hard work,

L.
On Wed, 11 Sep 2002, Bruce Momjian wrote:

Laurette Cisneros wrote:

If you define a column as:
col timestamp
In 7.2.x didn't it default to timestamp with timezone?

And now in 7.3(b1) it defaults to timestamp without timezone?

/HISTORY says right at the top:

* TIMESTAMP and TIME data types now default to WITHOUT TIMEZONE

--
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
----------------------------------
A wiki we will go...

--
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
----------------------------------
A wiki we will go...

#6Christopher Kings-Lynne
chriskl@familyhealth.com.au
In reply to: Laurette Cisneros (#3)
Re: timestamp column default changed?

timestamp becoming timestamp without time zone is actually the SQL
standard...

Chris

Show quoted text

I'm sure you all have discussed this ad-nauseum but this sure
does create a
pain in the butt when converting.

Ok, I had my say.

Thanks for all your hard work,

L.
On Wed, 11 Sep 2002, Bruce Momjian wrote:

Laurette Cisneros wrote:

If you define a column as:
col timestamp
In 7.2.x didn't it default to timestamp with timezone?

And now in 7.3(b1) it defaults to timestamp without timezone?

/HISTORY says right at the top:

* TIMESTAMP and TIME data types now default to WITHOUT TIMEZONE

--
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
----------------------------------
A wiki we will go...

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html