Re: [ADMIN] Getting table structure from script

1999-05-27 Thread Oleg Bartunov
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=$

Re: [ADMIN] Getting table structure from script

1999-05-27 Thread Jan Kim
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