pg95-type

Name

pg95-type -- Get the type name for a given PG95 type id.

Type: function

Synopsis

pg95-type( cnxn type-id, type-name);

Arguments

cnxn

An instance of <pg95-connection>

type-id

An instance of <fixnum>

Return Values

type-name

An instance of <symbol>

Description

Looks up the given type id (an OID in the pg_type table) and returns the corresponding type name (typname column).

To improve performance, the results of the lookup are cached in a hash table associated with the connection.