This topic created in 2118 days ago, the information mentioned may be changed or developed.
CREATE TABLE test (
ip inet,
port integer not null default 0,
country char(10) not null default '',
PRIMARY KEY(ip)
)
insert into test (ip, port) values('1.1.1.1', 80)