pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andre Schubert <andre@km3.de>
To: pgsql-admin@postgresql.org
Subject: Length of Varchar
Date: Fri, 24 Jan 2003 07:37:09 +0100
Message-ID: <20030124073709.7f2b1524.andre@km3.de> (raw)

Hi all,

i have a little question on changing the length of a varchar field.
Is there another way than dump and reload if i want to change the length
of a varchar field ?
I have search the idocs and found some docs about the system-table pg_attribute,
where the length of a varchar-field is stored in atttypmod.
Is it possible to change the value of atttypmod and is it safe to change this
value?

Thanks in advance

as



view thread (6+ messages)  latest in thread

Message-ID: <20030124073709.7f2b1524.andre@km3.de>
Permalink:  ../20030124073709.7f2b1524.andre@km3.de/
Also on:    postgresql.org/message-id/20030124073709.7f2b1524.andre@km3.de

 · 

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: andre@km3.de
  Subject: Re: Length of Varchar
  In-Reply-To: <20030124073709.7f2b1524.andre@km3.de>
  References: <20030124073709.7f2b1524.andre@km3.de>

* 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