mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
[#2166] Addressed further review comments
src/share/database/scripts/pgsql/dhcpdb_drop.pgsql src/share/database/scripts/pgsql/dhcpdb_create.pgsql src/share/database/scripts/pgsql/upgrade_6.2_to_7.0.sh.in Changed server_tag parameter size to 64 to match tag column size
This commit is contained in:
committed by
Tomek Mrugalski
parent
b2a04a9413
commit
4b18d98fac
@@ -1876,7 +1876,7 @@ LANGUAGE plpgsql;
|
|||||||
-- being null.
|
-- being null.
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
CREATE OR REPLACE FUNCTION createAuditRevisionDHCP4(audit_ts TIMESTAMP WITH TIME ZONE,
|
CREATE OR REPLACE FUNCTION createAuditRevisionDHCP4(audit_ts TIMESTAMP WITH TIME ZONE,
|
||||||
server_tag VARCHAR(256),
|
server_tag VARCHAR(64),
|
||||||
audit_log_message TEXT,
|
audit_log_message TEXT,
|
||||||
cascade_transaction BOOLEAN)
|
cascade_transaction BOOLEAN)
|
||||||
RETURNS VOID
|
RETURNS VOID
|
||||||
@@ -2486,7 +2486,7 @@ CREATE INDEX fk_dhcp4_client_class_server_id ON dhcp4_client_class_server (serve
|
|||||||
-- being null.
|
-- being null.
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
CREATE OR REPLACE FUNCTION createAuditRevisionDHCP6(audit_ts TIMESTAMP WITH TIME ZONE,
|
CREATE OR REPLACE FUNCTION createAuditRevisionDHCP6(audit_ts TIMESTAMP WITH TIME ZONE,
|
||||||
server_tag VARCHAR(256),
|
server_tag VARCHAR(64),
|
||||||
audit_log_message TEXT,
|
audit_log_message TEXT,
|
||||||
cascade_transaction BOOLEAN)
|
cascade_transaction BOOLEAN)
|
||||||
RETURNS VOID
|
RETURNS VOID
|
||||||
|
@@ -31,7 +31,7 @@ DROP FUNCTION IF EXISTS proc_stat_lease6_delete ();
|
|||||||
DROP TABLE IF EXISTS logs CASCADE;
|
DROP TABLE IF EXISTS logs CASCADE;
|
||||||
|
|
||||||
-- config backend procedures for DHCPv6
|
-- config backend procedures for DHCPv6
|
||||||
DROP FUNCTION IF EXISTS createAuditRevisionDHCP6(audit_ts TIMESTAMP WITH TIME ZONE, server_tag VARCHAR(256),
|
DROP FUNCTION IF EXISTS createAuditRevisionDHCP6(audit_ts TIMESTAMP WITH TIME ZONE, server_tag VARCHAR(64),
|
||||||
audit_log_message TEXT, cascade_transaction BOOLEAN);
|
audit_log_message TEXT, cascade_transaction BOOLEAN);
|
||||||
DROP FUNCTION IF EXISTS createAuditEntryDHCP6(object_type_val VARCHAR(256), object_id_val BIGINT,
|
DROP FUNCTION IF EXISTS createAuditEntryDHCP6(object_type_val VARCHAR(256), object_id_val BIGINT,
|
||||||
modification_type_val VARCHAR(32));
|
modification_type_val VARCHAR(32));
|
||||||
@@ -95,7 +95,7 @@ DROP FUNCTION IF EXISTS func_dhcp6_subnet_BDEL();
|
|||||||
DROP FUNCTION IF EXISTS func_dhcp6_pd_pool_BDEL();
|
DROP FUNCTION IF EXISTS func_dhcp6_pd_pool_BDEL();
|
||||||
|
|
||||||
-- config backend procedures for DHCPv4
|
-- config backend procedures for DHCPv4
|
||||||
DROP FUNCTION IF EXISTS createAuditRevisionDHCP4(audit_ts TIMESTAMP WITH TIME ZONE, server_tag VARCHAR(256),
|
DROP FUNCTION IF EXISTS createAuditRevisionDHCP4(audit_ts TIMESTAMP WITH TIME ZONE, server_tag VARCHAR(64),
|
||||||
audit_log_message TEXT, cascade_transaction BOOLEAN);
|
audit_log_message TEXT, cascade_transaction BOOLEAN);
|
||||||
DROP FUNCTION IF EXISTS createAuditEntryDHCP4(object_type_val VARCHAR(256), object_id_val BIGINT,
|
DROP FUNCTION IF EXISTS createAuditEntryDHCP4(object_type_val VARCHAR(256), object_id_val BIGINT,
|
||||||
modification_type_val VARCHAR(32));
|
modification_type_val VARCHAR(32));
|
||||||
|
@@ -883,7 +883,7 @@ LANGUAGE plpgsql;
|
|||||||
-- being null.
|
-- being null.
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
CREATE OR REPLACE FUNCTION createAuditRevisionDHCP4(audit_ts TIMESTAMP WITH TIME ZONE,
|
CREATE OR REPLACE FUNCTION createAuditRevisionDHCP4(audit_ts TIMESTAMP WITH TIME ZONE,
|
||||||
server_tag VARCHAR(256),
|
server_tag VARCHAR(64),
|
||||||
audit_log_message TEXT,
|
audit_log_message TEXT,
|
||||||
cascade_transaction BOOLEAN)
|
cascade_transaction BOOLEAN)
|
||||||
RETURNS VOID
|
RETURNS VOID
|
||||||
@@ -1493,7 +1493,7 @@ CREATE INDEX fk_dhcp4_client_class_server_id ON dhcp4_client_class_server (serve
|
|||||||
-- being null.
|
-- being null.
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
CREATE OR REPLACE FUNCTION createAuditRevisionDHCP6(audit_ts TIMESTAMP WITH TIME ZONE,
|
CREATE OR REPLACE FUNCTION createAuditRevisionDHCP6(audit_ts TIMESTAMP WITH TIME ZONE,
|
||||||
server_tag VARCHAR(256),
|
server_tag VARCHAR(64),
|
||||||
audit_log_message TEXT,
|
audit_log_message TEXT,
|
||||||
cascade_transaction BOOLEAN)
|
cascade_transaction BOOLEAN)
|
||||||
RETURNS VOID
|
RETURNS VOID
|
||||||
|
Reference in New Issue
Block a user