"Wim Audenaert" <wima85@hotmail.com> writes:
> When I create a new database, this function (oid 17039 and used for utf8
> translation) is not defined in the pg_proc table. I tried to create a new
> database. The pg_proc table contains several functions, but not this one.
Hmm, I see that utf8_to_tcvn() doesn't seem to be there anymore, but
whether that's a bug in itself is for someone else to answer (Tatsuo?).
What I'm wondering about is how a reference to a nonexistent function
OID got into your new database. There is no case in which pg_dump
should reference a function by OID.
regards, tom lane