upgrade 7.1.x -> 7.2.x

Started by Carl Andersonalmost 24 years ago2 messagesgeneral
Jump to latest
#1Carl Anderson
candrsn@mindspring.com

I am having problems upgrading from 7.1.2 to 7.2.1

are there any tools that account for the char handling change from 7.1
to 7.2

in 7.1.3 select 'hello'::char; works

in 7.2.1 select 'hello'::char; fails

I am ambivalent to the dataype change
all I need is a tool that converts datatype char unmodified to varchar
unmodified
but leaves char modified (char(1), char(2)) alone.

possibly someone who has dealt with this has a hacked pg_dump.

C.

#2Joshua D. Drake
jd@commandprompt.com
In reply to: Carl Anderson (#1)
Re: upgrade 7.1.x -> 7.2.x

Hello,

Why not just open the dump in VI or Joe (Joe doesn't handle huge files
well), and do a search an replace?

Carl Anderson wrote:

Show quoted text

I am having problems upgrading from 7.1.2 to 7.2.1

are there any tools that account for the char handling change from 7.1
to 7.2

in 7.1.3 select 'hello'::char; works

in 7.2.1 select 'hello'::char; fails

I am ambivalent to the dataype change
all I need is a tool that converts datatype char unmodified to varchar
unmodified
but leaves char modified (char(1), char(2)) alone.

possibly someone who has dealt with this has a hacked pg_dump.

C.

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

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