![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
When I try to do a pg_dump of my database, I get the following error message: pg_dump: SQL command failed pg_dump: Error message from server: ERROR: cache lookup failed for function 17039 |
#3
| |||
| |||
|
|
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. |
#4
| |||
| |||
|
|
From: Tom Lane <tgl (AT) sss (DOT) pgh.pa.us To: "Wim Audenaert" <wima85 (AT) hotmail (DOT) com CC: pgsql-bugs (AT) postgresql (DOT) org Subject: Re: [BUGS] BUG #2065: Problem with language conversion in pg_dump Date: Tue, 22 Nov 2005 22:36:56 -0500 "Wim Audenaert" <wima85 (AT) hotmail (DOT) com> writes: When I try to do a pg_dump of my database, I get the following error message: pg_dump: SQL command failed pg_dump: Error message from server: ERROR: cache lookup failed for function 17039 I'm not sure how you managed that, but I'm sure that it's entirely unrelated to the database's encoding. Do you still have the dump file that you used to move from 8.0 to 8.1? If so, what does it show as the declaration for this table? regards, tom lane |
#5
| |||
| |||
|
|
From: Tom Lane <tgl (AT) sss (DOT) pgh.pa.us To: "Wim Audenaert" <wima85 (AT) hotmail (DOT) com CC: pgsql-bugs (AT) postgresql (DOT) org Subject: Re: [BUGS] BUG #2065: Problem with language conversion in pg_dump Date: Tue, 22 Nov 2005 23:45:58 -0500 "Wim Audenaert" <wima85 (AT) hotmail (DOT) 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 |
#6
| |||
| |||
|
|
"Wim Audenaert" <wima85 (AT) hotmail (DOT) 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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |