pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ALTER DOMAIN patch ....
4+ messages / 3 participants
[nested] [flat]

* ALTER DOMAIN patch ....
@ 2002-12-10 15:56  Rajesh Kumar Mallah. <mallah@trade-india.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Rajesh Kumar Mallah. @ 2002-12-10 15:56 UTC (permalink / raw)
  To: pgsql-admin



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.





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: ALTER DOMAIN patch ....
@ 2002-12-10 19:14  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Rajesh Kumar Mallah. <mallah@trade-india.com>
  0 siblings, 2 replies; 4+ messages in thread

From: Bruce Momjian @ 2002-12-10 19:14 UTC (permalink / raw)
  To: Rajesh Kumar Mallah. <mallah@trade-india.com>; +Cc: pgsql-admin


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)
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: ALTER DOMAIN patch ....
@ 2002-12-11 04:12  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Bruce Momjian <pgman@candle.pha.pa.us>
  1 sibling, 0 replies; 4+ messages in thread

From: Tom Lane @ 2002-12-11 04:12 UTC (permalink / raw)
  To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: Rajesh Kumar Mallah. <mallah@trade-india.com>; pgsql-admin

Bruce Momjian <pgman@candle.pha.pa.us> writes:
> No, ALTER DOMAIN will only be in 7.4.

And possibly not then either ;-).  There are some rather serious
problems with the current patch --- unless Rod can resolve them
satisfactorily, I think we'll have to back out the feature.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: ALTER DOMAIN patch ....
@ 2002-12-11 06:50  Rajesh Kumar Mallah. <mallah@trade-india.com>
  parent: Bruce Momjian <pgman@candle.pha.pa.us>
  1 sibling, 0 replies; 4+ messages in thread

From: Rajesh Kumar Mallah. @ 2002-12-11 06:50 UTC (permalink / raw)
  To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: pgsql-admin


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.





^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2002-12-11 06:50 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-12-10 15:56 ALTER DOMAIN patch .... Rajesh Kumar Mallah. <mallah@trade-india.com>
2002-12-10 19:14 ` Bruce Momjian <pgman@candle.pha.pa.us>
2002-12-11 04:12   ` Tom Lane <tgl@sss.pgh.pa.us>
2002-12-11 06:50   ` Rajesh Kumar Mallah. <mallah@trade-india.com>

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