Re: [GENERAL] How to get database schema without pg_dump? - Mailing list pgsql-admin

From Boban Acimovic
Subject Re: [GENERAL] How to get database schema without pg_dump?
Date
Msg-id 006001c181a6$3892e5f0$8b00000a@acim
Whole thread Raw
In response to How to get database schema without pg_dump?  ("Boban Acimovic" <acim@mbl.is>)
Responses Re: [GENERAL] How to get database schema without pg_dump?
List pgsql-admin
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


pgsql-admin by date:

Previous
From: Steven Lane
Date:
Subject: Shared memory oddity
Next
From: Stephan Szabo
Date:
Subject: Re: Primary Key Problems