I just went through the same problems you and Jim Burnett are
describing. Here is what I got to work and how I did it. (Remember I am
new to both Linux and Postgres so there may have been an easier way.)
I am on a RH 5.0 system that installed Postgres from the RH cd. It puts
Postgres 6.2
Hello.
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 :)
Andrey Novikov
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
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=$
PostgreSQL 6.4.2, compiled and installed on AIX 4.3.2 (a PowerPC
system).
Everything was going fairly well until this morning. I noticed a
problem when I tried to do a routine query on my database this morning --
it's a front-page CGI that I've run dozens of times over the last few
days. There
We are planning to install a postgres database along with an
apache webserver for a small internal Help-desk site.
I have no intention of starting a OS war, but I have heard a great
deal about FreeBSD being a superior network server relative to
Linux, and I would like to know if there is some com
Am running on a RedHat Linux 5.0 Intel box. Now have Postgres 6.2
running on it so I know it works. Have been trying to compile the new
Postgres 6.4.2 with no success. The configure utility seems to run all
right, but running gmake all >& make.log & as the doc's call for exits
immediately wi
On Thu, 27 May 1999, Jim Ridenour wrote:
>Am running on a RedHat Linux 5.0 Intel box. Now have Postgres 6.2
> running on it so I know it works. Have been trying to compile the new
> Postgres 6.4.2 with no success. The configure utility seems to run all
> right, but running gmake all >& mak