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

Function: gettopologyname

 

 

Schema

topology

 

Owner

postgres

 

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 13/03/2014 13:23
Previous topic Chapter index Next topic