Re: How to refer to computed columns from other computed columns? - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: How to refer to computed columns from other computed columns?
Date
Msg-id 1281989859-sup-5537@alvh.no-ip.org
Whole thread Raw
In response to Re: How to refer to computed columns from other computed columns?  (Boszormenyi Zoltan <zb@cybertec.at>)
Responses Re: How to refer to computed columns from other computed columns?
List pgsql-general
Excerpts from Boszormenyi Zoltan's message of lun ago 16 14:45:07 -0400 2010:
> Matthew Wilson írta:

> > I don't care if the code is rearranged so that c is replaced with an
> > inline definition during compilation.  I'm not concerned about
> > efficiency here.  I just don't want to have to redefine it manually over
> > and over again, because I know that as I update how c is defined, I'll
> > forget to update it everywhere.
> >
> > Maybe sql needs a preprocessing macro language like C.
> >
>
> Or maybe we can dust off my GENERATED column patch
> I posted here in 2006. :-)

Hmm, that seems entirely unrelated ...

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: How to refer to computed columns from other computed columns?
Next
From: Andy
Date:
Subject: Postgresql's table & index compared to that of MySQL