Ignore:
Timestamp:
03/01/05 16:31:04 (21 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Backport SQL/SQL-related bugfixes from /trunk r180 through 184

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/cgi-bin/ipdb.psql

    r178 r185  
    1 \connect - postgres
     1CREATE DATABASE ipdb;
    22
    33\connect ipdb ipdb
     
    4949
    5050CREATE TABLE "freeblocks" (
    51         "cidr" cidr DEFAULT '255.255.255.255/32' NOT NULL PRIMARY KEY
     51        "cidr" cidr DEFAULT '255.255.255.255/32' NOT NULL PRIMARY KEY,
    5252        "maskbits" integer DEFAULT 128,
    5353        "city" character varying(30) DEFAULT '',
     
    120120GRANT ALL on "cities" to "ipdb";
    121121
     122COPY "alloctypes" FROM stdin;
     123cd      Static Pool - Cable     Cable pool      41      CBL-BUS
     124dp      Static Pool - DSL       DSL pool        42      DSL-BUS
     125mp      Static Pool - Dialup    Static dialup pool      43      DIAL-BUS
     126wp      Static Pool - Wireless  Static wireless pool    44      WL-BUS
     127dc      Dynamic cable block     Dynamic cable block     103     CBL-RES
     128dy      Dynamic DSL block       Dynamic DSL block       102     DSL-RES
     129dn      Dialup netblock Dialup netblock 101     DIAL-RES
     130dw      Dynamic WiFi block      Dynamic WiFi block      104     WL-RES
     131mm      Master block    Master block    999     6750400
     132rr      Routing Routed netblock 500     6750400
     133in      Internal netblock       Internal netblock       990     6750400
     134ee      End-use netblock        End-use netblock        100     6750400
     135sd      Static Pool - Servers   Server pool     40      6750400
     136cn      Customer netblock       Customer netblock       0       
     137ci      Static IP - Cable       Static cable IP 21     
     138di      Static IP - DSL Static DSL IP   22     
     139mi      Static IP - Dialup      Static dialup IP        23     
     140wi      Static IP - Wireless    Static wireless IP      24     
     141si      Static IP - Server pool Server pool IP  20      6750400
     142\.
Note: See TracChangeset for help on using the changeset viewer.