--_000_1CA7FF980DA3824F9A5C31532B7A40DCC50DE3C7LCXCLMB01LCDS LO_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi!
I shut down the database to upgrade from 8.1.11 to 8.2.16. We use pg_du=
mp
to dump and psql with the < sign to restore. But I had a problem with resto=
ring the
dump. I got a
ERROR: function "snb_ru_init(internal)" does not exist
CONTEXT: COPY pg_ts_dict, line 3, column dict_init: "snb_ru_init(internal)=
"
and I found this page on how to fix it:
http://www.penguinlinux.com/blog/lamp/tsearch2-with-postgres ql-82-errors/
Except I don't understand the steps that author has laid out. Especially
step 3.
Could some step me through this or do anybody have a better way to upgrade =
to
postgres 8.2.16?
Thanks,
Tino
--_000_1CA7FF980DA3824F9A5C31532B7A40DCC50DE3C7LCXCLMB01LCDS LO_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
[at] font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
[at] font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
..MsoChpDefault
{mso-style-type:export-only;}
[at] page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal>Hi!<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal> I shut down the database to upgrade=
from
8.1.11 to 8.2.16. We use pg_dump<o:p></o:p></p>
<p class=3DMsoNormal>to dump and psql with the < sign to restore. But I =
had a
problem with restoring the <o:p></o:p></p>
<p class=3DMsoNormal>dump. I got a <o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>ERROR: function "snb_ru_init(internal)"=
; does
not exist<o:p></o:p></p>
<p class=3DMsoNormal>CONTEXT: COPY pg_ts_dict, line 3, column dict_in=
it:
"snb_ru_init(internal)"<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>and I found this page on how to fix it:<o:p></o:p></p>
<p class=3DMsoNormal><a
href=3D"http://www.penguinlinux.com/blog/lamp/tsearch2-with- postgresql-82-e=
rrors/">http://www.penguinlinux.com/blog/lamp/tsearch2-with- postgresql-82-e=
rrors/</a><o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Except I don't understand the steps that author has la=
id
out. Especially <o:p></o:p></p>
<p class=3DMsoNormal>step 3. <o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Could some step me through this or do anybody have a b=
etter
way to upgrade to<o:p></o:p></p>
<p class=3DMsoNormal>postgres 8.2.16?<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Thanks,<o:p></o:p></p>
<p class=3DMsoNormal>Tino<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
</body>
</html>
--_000_1CA7FF980DA3824F9A5C31532B7A40DCC50DE3C7LCXCLMB01LCDS LO_--
