pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problem when migrating my BB.DD Postgresql 7.2.3 to Postgresql 7.3.2
2+ messages / 2 participants
[nested] [flat]

* Problem when migrating my BB.DD Postgresql 7.2.3 to Postgresql 7.3.2
@ 2003-07-06 22:20 aromero@dia.uned.es
  2003-07-06 23:35 ` Re: Problem when migrating my BB.DD Postgresql 7.2.3 to Stephan Szabo <sszabo@megazone23.bigpanda.com>
  0 siblings, 1 reply; 2+ messages in thread

From: aromero@dia.uned.es @ 2003-07-06 22:20 UTC (permalink / raw)
  To: pgsql-admin

Hi,

I have two system. The first system have RetHat 7.2 and Postgresql 7.2.3, my 
other system (the second) have RedHat 7.2 and Postgresql 7.3.2.

I have expoted the data base of my first system (Postgresql 7.2.3)with command 
pg_dump data_base name > export.dmp. I later import (the file export.dmp) in my 
second system (with Postgresql 7.3.2) with command psql data_base name < 
export.dmp.

Until here, everything seems well, but, when I am proving my second system with 
the data base imported  already, I have a serious error.

I verify after of several tests and this error happens when the system is 
calling to function of but of 31 character.

In Postgresql 7.2.3 the name function it truncated them to 31 character. The 
problem is what when I export the function name are exported truncated, however 
in Postgres 7.3.2 it don´t truncated to 31 character and my system it called 
them without truncated.

Why the name function it truncates them in Postgresql 7.2.3 and Postgresql 
7.3.2 no?
it depends some variable of configuation of Postgresql 7.3.2.

I don´t understand this.

Everybody this has happened him.

Thank you for advance.

Angel







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

* Re: Problem when migrating my BB.DD Postgresql 7.2.3 to
  2003-07-06 22:20 Problem when migrating my BB.DD Postgresql 7.2.3 to Postgresql 7.3.2 aromero@dia.uned.es
@ 2003-07-06 23:35 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Stephan Szabo @ 2003-07-06 23:35 UTC (permalink / raw)
  To: aromero@dia.uned.es; +Cc: pgsql-admin

On Sun, 6 Jul 2003 aromero@dia.uned.es wrote:

> I have two system. The first system have RetHat 7.2 and Postgresql 7.2.3, my
> other system (the second) have RedHat 7.2 and Postgresql 7.3.2.
>
> I have expoted the data base of my first system (Postgresql 7.2.3)with command
> pg_dump data_base name > export.dmp. I later import (the file export.dmp) in my
> second system (with Postgresql 7.3.2) with command psql data_base name <
> export.dmp.
>
> Until here, everything seems well, but, when I am proving my second system with
> the data base imported  already, I have a serious error.
>
> I verify after of several tests and this error happens when the system is
> calling to function of but of 31 character.
>
> In Postgresql 7.2.3 the name function it truncated them to 31 character. The
> problem is what when I export the function name are exported truncated, however
> in Postgres 7.3.2 it don´t truncated to 31 character and my system it called
> them without truncated.
>
> Why the name function it truncates them in Postgresql 7.2.3 and Postgresql
> 7.3.2 no?

I believe the default name length maximum went up to 64 in 7.3. I couldn't
completely follow the text, but is it that you're calling functions with
the untruncated names but the names came in truncated from the dump?





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


end of thread, other threads:[~2003-07-06 23:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-07-06 22:20 Problem when migrating my BB.DD Postgresql 7.2.3 to Postgresql 7.3.2 aromero@dia.uned.es
2003-07-06 23:35 ` Re: Problem when migrating my BB.DD Postgresql 7.2.3 to Stephan Szabo <sszabo@megazone23.bigpanda.com>

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