Re: Storing a chain

From: Johan Fredrik Øhman <johanfo(at)ohman(dot)no>
To: "'Bruno Wolff III'" <bruno(at)wolff(dot)to>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Storing a chain
Date: 2003-11-19 16:49:54
Message-ID: E1AMVWN-00047r-9R@mail-mx4.uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I wouldn't think using a sequence would make much sense. You don't want
automatically generated unique values, you want to impose an order.
If you want easy insertion at the expense of larger indexes you are
probably better off using a text or numeric (using digits to the right
of the decimal point) key.

[JFO]
My use of the word sequence was ambiguous. What I ment was a "numeric" key.

Why do you want your rules in a database? I would think that a plain
text file would be a better approach unless you either want to be able
to ask questions about your firewall rules or have some automated
system for changing the firewall rules based on contidions (e.g. time of
day).

[JFO] Exactly, I need it very flexible. The tables are a small part of a
large administration database, which tell a lot of machines exactly what
firewall configuration they should have.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2003-11-19 16:52:38 Re: 7.4 broke psql
Previous Message Bruce Momjian 2003-11-19 16:47:34 Re: Wanted: Trick for granting permissions to users with hyphens