Re: NAMEDATALEN - Mailing list pgsql-general

From Bruce Momjian
Subject Re: NAMEDATALEN
Date
Msg-id 200105102027.f4AKRmF28264@candle.pha.pa.us
Whole thread Raw
In response to NAMEDATALEN  ("Thomas F. O'Connell" <tfo@monsterlabs.com>)
List pgsql-general
You can dump and reload.  It is saying all databases under the same
postmaster have to have the same NAMEDATALEN.

> is it safe to change NAMEDATALEN, dump an existing database, recompile,
> and then restore the database?
>
> in src/include/postgres_ext.h, it mentions that "... databases with
> different NAMEDATALEN's cannot interoperate!", and i was wondering if
> included when altering NAMEDATALEN for a database that already has data
> even if performing a pg_dump on it.
>
> -tfo
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: "Thomas F. O'Connell"
Date:
Subject: NAMEDATALEN
Next
From: Tom Lane
Date:
Subject: Re: COPY locking