pggeodb.nancy.inra.fr/db_cefs - db_cefs on pggeodb.nancy.inra.fr
Previous topic Chapter index Next topic

Function: dropgeometrycolumn

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: schema_name, table_name, column_name - Removes a geometry column from a spatial table.

 

Options

Option

Value

Returns

text

Language

plpgsql

Parameters

schema_name varchar

table_name varchar

column_name varchar

 

Definition

CREATE OR REPLACE FUNCTION public.dropgeometrycolumn (
 schema_name varchar,
 table_name varchar,
 column_name varchar
)
RETURNS text AS
$span$
DECLARE

ret text;
BEGIN
SELECT
DropGeometryColumn('',$1,$2,$3) into ret;
RETURN ret;
END;
$span$
LANGUAGE
'plpgsql'
VOLATILE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.dropgeometrycolumn(schema_name varchar, table_name varchar, column_name varchar)
IS 'args: schema_name, table_name, column_name - Removes a geometry column from a spatial table.';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23
Previous topic Chapter index Next topic