Received: from pascal.mbl.is (pascal.mbl.is [193.4.96.33]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fBAICUm85989; Mon, 10 Dec 2001 13:12:31 -0500 (EST) (envelope-from acim@mbl.is) Received: from acim (3-170.mbl.is [192.168.3.170]) by pascal.mbl.is (8.11.6/linuxconf) with SMTP id fBAICEB27245; Mon, 10 Dec 2001 18:12:14 GMT Message-ID: <006001c181a6$3892e5f0$8b00000a@acim> From: "Boban Acimovic" To: , References: <003201c17f75$fa05f480$8b00000a@acim> Subject: Re: [GENERAL] How to get database schema without pg_dump? Date: Mon, 10 Dec 2001 18:11:33 -0000 Organization: =?iso-8859-1?Q?Morgunbla=F0i=F0_hf.?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Archive-Number: 200112/66 X-Sequence-Number: 2790 After lot of tries, it seems I resolved this problem. First thing what I did is to hack pg_dump not to use SQL queries with regular expressions. I tried LIKE clause, but it seems it is internally interpreted as regular expression, so I replaced it with SUBSTR function. This pg_dump was able to dump all databases with no problem. Then I compiled PostgreSQL with multibyte support and created databases with encoding LATIN1. After I filled the data back, everything looks fine. It is working for several hours and I can't see any problems. Hopefully this is the resolution for my problem. Thank you Stephan for helping. Regards, Boban Acimovic UNIX SysAdmin www.mbl.is