Skip site navigation (1) Skip section navigation (2)

describe table (from perl)

From: "Celia McInnis" <celia(at)drmath(dot)ca>
To: pgsql-novice(at)postgresql(dot)org
Subject: describe table (from perl)
Date: 2005-05-16 16:49:13
Message-ID: 20050516164639.M45967@drmath.ca (view raw or flat)
Thread:
Lists: pgsql-novice
What's the easiest way to have perl (using the DBI module) extract table 
information? I need to be able to extract column names and types. (Something 
like what is given by the MySql "DESCRIBE mytable" command).

Thanks,
Celia McInnis


Responses

pgsql-novice by date

Next:From: Andres LedesmaDate: 2005-05-16 17:08:32
Subject: Re: concepts?
Previous:From: Buddy ShearerDate: 2005-05-16 16:09:34
Subject: BAD SU operator at startup

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group