pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Reason to not upgrade from 6.5 to 7.0 or above
4+ messages / 4 participants
[nested] [flat]

* Reason to not upgrade from 6.5 to 7.0 or above
@ 2001-02-17 17:49  bangh <banghe@baileylink.net>
  0 siblings, 2 replies; 4+ messages in thread

From: bangh @ 2001-02-17 17:49 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Jeremy Buchmann <jeremy@wellsgaming.com>; pgsql-admin

>
> > I'm using pgsql 6.5.3 on Linux 2.2
>
> Time to upgrade...
>
>                         regards, tom lane
>

I am using 6.5 too. The reason is some data type are gone. e.g. datetime. If do
so, I have to modify my application.

Ciao,
Banghe





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Reason to not upgrade from 6.5 to 7.0 or above
@ 2001-04-25 17:02  Tom Lane <tgl@sss.pgh.pa.us>
  parent: bangh <banghe@baileylink.net>
  1 sibling, 0 replies; 4+ messages in thread

From: Tom Lane @ 2001-04-25 17:02 UTC (permalink / raw)
  To: bangh <banghe@baileylink.net>; +Cc: Jeremy Buchmann <jeremy@wellsgaming.com>; pgsql-admin

bangh <banghe@baileylink.net> writes:
> I am using 6.5 too. The reason is some data type are
> gone. e.g. datetime. If do so, I have to modify my application.

??  This still works:

regression=# create table foo (f1 datetime);
CREATE

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Reason to not upgrade from 6.5 to 7.0 or above
@ 2001-04-25 17:16  Joel Burton <jburton@scw.org>
  parent: bangh <banghe@baileylink.net>
  1 sibling, 1 reply; 4+ messages in thread

From: Joel Burton @ 2001-04-25 17:16 UTC (permalink / raw)
  To: bangh <banghe@baileylink.net>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Jeremy Buchmann <jeremy@wellsgaming.com>; pgsql-admin

On Sat, 17 Feb 2001, bangh wrote:

> > > I'm using pgsql 6.5.3 on Linux 2.2
> >
> > Time to upgrade...
> >
> >                         regards, tom lane
> >
> 
> I am using 6.5 too. The reason is some data type are gone. e.g. datetime. If do
> so, I have to modify my application.

Is there anything that datetime did that timestamp doesn't? 

Could you

   pg_dump | sed | psql

to change the datetimes to timestamp?

-- 
Joel Burton   <jburton@scw.org>
Director of Information Systems, Support Center of Washington




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Reason to not upgrade from 6.5 to 7.0 or above
@ 2001-04-28 12:41  Anuradha Ratnaweera <anuradha@gnu.org>
  parent: Joel Burton <jburton@scw.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Anuradha Ratnaweera @ 2001-04-28 12:41 UTC (permalink / raw)
  To: Joel Burton <jburton@scw.org>; +Cc: bangh <banghe@baileylink.net>; Tom Lane <tgl@sss.pgh.pa.us>; Jeremy Buchmann <jeremy@wellsgaming.com>; pgsql-admin



On Wed, 25 Apr 2001, Joel Burton wrote:

> Is there anything that datetime did that timestamp doesn't? 

datetime is provided to ensure compatibility with older releases, although
they are not guranteed to exist in future releases (chapter 3.4 users
guide)

> Could you
> 
>    pg_dump | sed | psql
> 
> to change the datetimes to timestamp?

No. pg_dump will read from the database while psql will modify it and
there can be conflicts. It is safe to 

pg_dumpall -c | sed > tmpfile
psql -d template1 -f tmpfile

Anuradha




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2001-04-28 12:41 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-02-17 17:49 Reason to not upgrade from 6.5 to 7.0 or above bangh <banghe@baileylink.net>
2001-04-25 17:02 ` Tom Lane <tgl@sss.pgh.pa.us>
2001-04-25 17:16 ` Joel Burton <jburton@scw.org>
2001-04-28 12:41   ` Anuradha Ratnaweera <anuradha@gnu.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox