Tom Lane wrote:
> "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.
TCVN is was renamed to the official name PG_WIN1258 in 8.1. This was
part of the general encoding renaming in 8.1.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073