Hi,
this is what I used some time ago. Don't know if it works now :-)
Regards,
Oleg
#!/usr/bin/perl
# Print information about database
use Pg;
$dbmain='mdb';
$conn = Pg::connectdb("dbname = $dbmain");
foreach ( keys (%conn) ) {
print "$conn{$_}\n";
}
$pghost=$
On Thu, May 27, 1999 at 03:46:48PM +0400, @ mdpei Mnbhjnb wrote:
> Is there any way to get table structure from perl script
> (for instance using Pg). I need it very much, but now have
> to use copy/paste algorythm :)
Since I don't use Perl, I cannot offer a perl specific solution.
General