inet-type sequence

From: "Andrey V(dot) Semyonov" <wilfre(at)mail(dot)ru>
To: "mailto:pgsql-general"(at)postgresql(dot)org
Subject: inet-type sequence
Date: 2005-01-29 19:24:46
Message-ID: 41FBE2FE.1060801@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi there.
How do I create a sequence of type inet for automatic assignment an
IP/32 to a new row?
Neither nextval() nor CREATE SEQUENCE seem for me to work with type inet
(PostgreSQL 8.0.0, pgAdmin III v 1.2.0).

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Max 2005-01-29 19:28:51 Re: Splitting queries across servers
Previous Message Terry Lee Tucker 2005-01-29 19:08:53 Re: Prompt User From a pgplsql Function