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 |