pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah. <mallah@trade-india.com>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: ALTER DOMAIN patch ....
Date: Wed, 11 Dec 2002 12:20:40 +0530
Message-ID: <200212111220.40608.mallah@trade-india.com> (raw)
In-Reply-To: <200212101914.gBAJENB19636@candle.pha.pa.us>
References: <200212101914.gBAJENB19636@candle.pha.pa.us>


Thank you for the clarifications.

I wanted to do somthing like this.

say phone_no is a domain defined as varchar(25)

and i want to use this domian in all DDLs. say one fine day
i realize varchar(25) is not sufficient then i was planning
to do something like alter domain phone_no varcahr(100)
so that all DDLs would automatically get updated.

Is there any other way of fullfulling this reqmt.
in postgresql 7.3?

Regds
MAllah.



On Wednesday 11 December 2002 12:44 am, Bruce Momjian wrote:
> No, ALTER DOMAIN will only be in 7.4.
>
> ---------------------------------------------------------------------------
>
> Rajesh Kumar Mallah. wrote:
> > Hi,
> >
> > Does any patch to 7.3 stable exists for ALTER DOMAIN
> > command i vaguely rember someone (mostly bruce) mentioning
> > it in a reply.
> >
> > i would want to change the domain def at one place and see
> > its effect in all the tables using it.
> >
> >
> >
> > regds
> > mallah.
> >
> > --
> > Rajesh Kumar Mallah,
> > Project Manager (Development)
> > Infocom Network Limited, New Delhi
> > phone: +91(11)6152172 (221) (L) ,9811255597 (M)
> >
> > Visit http://www.trade-india.com ,
> > India's Leading B2B eMarketplace.
> >
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: you can get off all lists at once with the unregister command
> >     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

-- 
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.





view thread (4+ messages)

Message-ID: <200212111220.40608.mallah@trade-india.com>
Permalink:  ../200212111220.40608.mallah@trade-india.com/
Also on:    postgresql.org/message-id/200212111220.40608.mallah@trade-india.com

 · 

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: mallah@trade-india.com, pgman@candle.pha.pa.us
  Subject: Re: ALTER DOMAIN patch ....
  In-Reply-To: <200212111220.40608.mallah@trade-india.com>
  References: <200212101914.gBAJENB19636@candle.pha.pa.us> <200212111220.40608.mallah@trade-india.com>

* 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