Luis Amigo <lamigo(at)atc(dot)unican(dot)es> writes:
> I send u table declarations and a small part of data must be copied with
Okay, I see the problem: you are referring to, eg, n2.nation.name where
you should just have written n2.name.
It's a bug that this is not rejected...
regards, tom lane