Search Postgresql Archives

Re: noobie question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 24, 2013 at 14:03:33 -0500,
  Steve Clark <sclark@xxxxxxxxxxxxx> wrote:

It is really called rule_num and relates to "in what order firewall rules are applied". And it used
to allow the user to place the firewall rules where they want them in relation to other rules.

If you just need ordering, you could choose to use a string or numeric to give you ordering. That allows you to insert values in between existing records without having to renumber.

When displaying the data the application can number them based on ordering. And keep track of the current mapping between the number on the screen and the key in the database.


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux