Re: [GENERAL] How to get database schema without pg_dump?
Boban Acimovic <acim@mbl.is>
From: "Boban Acimovic" <acim@mbl.is>
To: <pgsql-general@postgresql.org>, <pgsql-admin@postgresql.org>
Date: 2001-12-10T18:11:33Z
Lists: pgsql-general
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