Re: How to refer to computed columns from other computed columns?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Boszormenyi Zoltan <zb(at)cybertec(dot)at>
Cc: Matthew Wilson <matt(at)tplus1(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to refer to computed columns from other computed columns?
Date: 2010-08-16 20:18:06
Message-ID: 1281989859-sup-5537@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andy 2010-08-16 22:59:02 Postgresql's table & index compared to that of MySQL
Previous Message Thom Brown 2010-08-16 18:51:49 Re: How to refer to computed columns from other computed columns?