Schema
public
Owner
albenard
Descriptions
args: schema_name, table_name, column_name, srid, type, dimension, use_typmod=true - Adds a geometry column to an existing table of attributes. By default uses type modifier to define rather than constraints. Pass in false for use_typmod to get old check constraint based behavior
Options
Option | Value |
---|---|
Returns |
text |
Language |
plpgsql |
Parameters |
schema_name varchar table_name varchar column_name varchar new_srid integer new_type varchar new_dim integer use_typmod boolean = true |
Definition
CREATE OR REPLACE FUNCTION public.addgeometrycolumn (
schema_name varchar,
table_name varchar,
column_name varchar,
new_srid integer,
new_type varchar,
new_dim integer,
use_typmod boolean = true
)
RETURNS text AS
$span$
DECLARE
ret text;
BEGIN
SELECT AddGeometryColumn('',$1,$2,$3,$4,$5,$6,$7) into ret;
RETURN ret;
END;
$span$
LANGUAGE 'plpgsql'
STABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST 100;
COMMENT ON FUNCTION public.addgeometrycolumn(schema_name varchar, table_name varchar, column_name varchar, new_srid integer, new_type varchar, new_dim integer, use_typmod boolean)
IS 'args: schema_name, table_name, column_name, srid, type, dimension, use_typmod=true - Adds a geometry column to an existing table of attributes. By default uses type modifier to define rather than constraints. Pass in false for use_typmod to get old check constraint based behavior';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 26/02/2014 11:51 |