Changeset 346 for branches/stable


Ignore:
Timestamp:
10/06/06 12:18:04 (18 years ago)
Author:
Kris Deugau
Message:

/branches/stable

Update SQL tabledef/database prep to create plpgsql procedural
language (which apparently only needs to be done once per
Postgres database cluster) and fix a bit of missing data in the
predefined alloctypes table data.

File:
1 edited

Legend:

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

    r342 r346  
    44
    55CREATE DATABASE ipdb;
     6
     7-- Need to do this or our triggers don't work.  Why do we need to do this?
     8CREATE FUNCTION "plpgsql_call_handler" () RETURNS language_handler AS '$libdir/plpgsql' LANGUAGE C;
     9CREATE TRUSTED LANGUAGE "plpgsql" HANDLER "plpgsql_call_handler";
    610
    711UPDATE pg_database SET datdba=(SELECT usesysid FROM pg_shadow WHERE usename='ipdb')
     
    148152pc      Reserve for dynamic-route DSL netblocks Dynamic-route netblocks 201     6750400 ISP-STATIC-DSL
    149153ac      Reserve for ATM ATM blocks      202     6750400 ISP
    150 fc      Reserve for fibre       203     6750400 ISP
     154fc      Reserve for fibre       Fibre blocks    203     6750400 ISP
    151155wr      CORE/WAN block  CORE/WAN block  220     6750400 ISP
    152156pr      Dynamic-route DSL netblock      Dynamic-route DSL       221             ISP
Note: See TracChangeset for help on using the changeset viewer.