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

Function: dropgeometrycolumn

 

 

Schema

public

 

Owner

postgres

 

Descriptions

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

 

Options

Option

Value

Returns

text

Language

plpgsql

Parameters

table_name varchar

column_name varchar

 

Definition

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

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

COMMENT ON FUNCTION public.dropgeometrycolumn(table_name varchar, column_name varchar)
IS 'args: 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 07/12/2018 13:23
Previous topic Chapter index Next topic