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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

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