From: | Al Arduengo <exal(at)austin(dot)rr(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Postgres and Perl: Which DBI module? |
Date: | 2002-07-27 18:42:43 |
Message-ID: | 871y9pko9x.fsf@austin.rr.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I simply used the CGI module. I am sure there are more sophisticated
methods but just using CGI and then standard Perl routines to create a
query string based on the input is easy. Use the print instruction to
output html header info required and then the last thing to do in
the script is simply:
psql -H -c "$string_i_created" -d mydb
Voilla! Nice pretty table.
-Al
jgdon <REMOVEjgdon(at)ureach(dot)comREMOVE> writes:
> hello,
>
> I just managed to get a simple database running with postgresql.
>
> Now I would like to write some CGI scripts in perl that will be able
> to use it.
>
>
> What perl module should I use for this?
>
> I have found something called DBI ... and found examples for CSV
> databases ... but I am curious what module I should use for postgres
> ...
>
>
> Is there a DBI::Postgres module like DBI::CSV ?
>
> Cheers,
> Jim
>
--
"Place your hand on a hot stove for a minute and it seems like
an hour. Sit with a pretty girl for an hour and it seems like a
minute. That's relativity." -Albert Einstein
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2002-07-27 20:20:34 | Re: Execution plan caching |
Previous Message | Gavin M. Roy | 2002-07-27 18:42:22 | Re : Re: OSCON 2002 Slides and Thoughts |