pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Boban Acimovic <acim@mbl.is>
To: pgsql-general@postgresql.org
To: pgsql-admin@postgresql.org
Subject: Re: [GENERAL] How to get database schema without pg_dump?
Date: Mon, 10 Dec 2001 18:11:33 -0000
Message-ID: <006001c181a6$3892e5f0$8b00000a@acim> (raw)
References: <003201c17f75$fa05f480$8b00000a@acim>

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




view thread (4+ messages)  latest in thread

Message-ID: <006001c181a6$3892e5f0$8b00000a@acim>
Permalink:  ../006001c181a6$3892e5f0$8b00000a@acim/
Also on:    postgresql.org/message-id/006001c181a6$3892e5f0$8b00000a@acim

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: acim@mbl.is, pgsql-general@postgresql.org
  Subject: Re: [GENERAL] How to get database schema without pg_dump?
  In-Reply-To: <006001c181a6$3892e5f0$8b00000a@acim>
  References: <003201c17f75$fa05f480$8b00000a@acim> <006001c181a6$3892e5f0$8b00000a@acim>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox