select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Unsupported versions: 7.3 / 7.2 / 7.1
Historical version. PostgreSQL 7.2 reached end of support in February 2007. See the current manual for supported releases.

get_attnames

Name

get_attnames -- returns the attribute names of a table

Synopsis

get_attnames(table)

Parameters

table

name of table.

Return Type

dictionary

The dictionary's keys are the attribute names, the values are the type names of the attributes.

Description

Given the name of a table, digs out the set of attribute names and types.

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.