]> git.ipfire.org Git - thirdparty/pdns.git/commit
Use the inet data type for supermasters.ip on postgrsql. 1062/head
authorJames Cloos <cloos@jhcloos.com>
Wed, 16 Oct 2013 21:43:30 +0000 (17:43 -0400)
committerJames Cloos <cloos@jhcloos.com>
Wed, 16 Oct 2013 21:43:30 +0000 (17:43 -0400)
commit14a2e529ba85292f6ca8d8f2adfc5465d6b997e1
tree2fad2b707d2084322bc53aba937649abaea6c0f7
parentd1aef071fabdbf721353dc43c52088eaffbd2b03
Use the inet data type for supermasters.ip on postgrsql.

Use pgsql’s inet data type for v4 and v6 IP addresses in the
supermasters table.

The guarantees that the address will fit, that the queries will
return the addresses in canonical format, and correctness in that
nothing other than an IP address can be stored in that column.

Signed-off-by: James Cloos <cloos@jhcloos.com>
pdns/no-dnssec.schema.pgsql.sql