Re: how to search for relation by name?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: zach cruise <zachc1980(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, DM <dm(dot)aeqa(at)gmail(dot)com>
Subject: Re: how to search for relation by name?
Date: 2009-04-23 17:34:06
Message-ID: 528.1240508046@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

zach cruise <zachc1980(at)gmail(dot)com> writes:
> Thanks! I just created new database using old database as template,
> and everything got copied over without errors. is that recommended
> over pg_dump though when just recreating database for different
> encoding?

It's pretty much guaranteed not to work, since the data will just be
copied without any encoding conversion. You could possibly get away
with it if the database is empty of data.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2009-04-23 19:21:03 Re: Dynamic SQL in Function
Previous Message zach cruise 2009-04-23 17:33:56 utf8 encoding for template0 and template1?