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

Function: gettopologyname

 

 

Schema

topology

 

Owner

albenard

 

Descriptions

args: topology_id - Returns the name of a topology (schema) given the id of the topology.

 

Options

Option

Value

Returns

varchar

Language

plpgsql

Parameters

topoid integer

 

Definition

CREATE OR REPLACE FUNCTION topology.gettopologyname (
 topoid integer
)
RETURNS varchar AS
$span$
DECLARE

 ret varchar;
BEGIN
       SELECT name FROM
topology.topology into ret
               WHERE id = topoid;
 RETURN ret;
END
$span$
LANGUAGE
'plpgsql'
STABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION topology.gettopologyname(topoid integer)
IS 'args: topology_id - Returns the name of a topology (schema) given the id of the topology.';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 26/02/2014 11:51
Previous topic Chapter index Next topic