Re: Funciones para iterar sobre tipos inet/cidr

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Gunnar Wolf <gwolf(at)gwolf(dot)org>
Cc: Leonel Nunez <lnunez(at)enelserver(dot)com>, pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Funciones para iterar sobre tipos inet/cidr
Date: 2005-04-14 18:51:18
Message-ID: 20050414185118.GC28198@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Thu, Apr 14, 2005 at 01:05:16PM -0500, Gunnar Wolf wrote:

Hola Gunnar,

> Leonel Nunez dijo [Thu, Apr 14, 2005 at 11:58:46AM -0600]:
> > Necesitarias jugar con masklen ( ip )
> > y hacer la magia con el trigger
>
> Sí, estuve jugando con las funciones acá documentadas:
>
> http://www.postgresql.org/docs/7.4/interactive/functions-net.html
>
> ... Pero, como sea, no hay manera de decir address+1 ni nada (que haya
> encontrado) por el estilo :-/

No, de hecho no hay funciones para eso (se hablo hace un par de dias en
-hackers). Mas que nada quieren que alguien defina un conjunto
razonable de operaciones primitivas para incluirlas como funciones.

--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"There is evil in the world. There are dark, awful things. Occasionally, we get
a glimpse of them. But there are dark corners; horrors almost impossible to
imagine... even in our worst nightmares." (Van Helsing, Dracula A.D. 1972)

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Marco Aurelio Sotelo Figueroa 2005-04-14 19:12:00 Re:
Previous Message Edwin Quijada 2005-04-14 18:15:02 RE: ayuda con postgresql