Skip site navigation (1) Skip section navigation (2)

Re: Very simple cgi perl connect & select script

From: Frank Bax <fbax(at)sympatico(dot)ca>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Very simple cgi perl connect & select script
Date: 2005-09-23 14:33:06
Message-ID: 5.2.1.1.0.20050923102717.034fdd50@pop6.sympatico.ca (view raw or flat)
Thread:
Lists: pgsql-novice
At 09:15 AM 9/16/05, Greg T. wrote:

>I'm hoping someone has a script pre-cooked that they're willing to share with
>me.
>
>Here's what I'd like to do:
>
>Create a cgi perl script which does the following:
>
>Thru a web browser (ergo cgi) connect to the Postgres database, and report the
>contents of one table.  No order by, no joins.  Just connect, and perform an
>extremely simple select.
>I have perl-DBD-Pg loaded



Add "DBD-Pg" to your subject and search google.  First hit has an example 
of what you are asking.


In response to

pgsql-novice by date

Next:From: Marc KhayatDate: 2005-09-23 16:17:48
Subject: PyGresql
Previous:From: Tom LaneDate: 2005-09-23 14:18:22
Subject: Re: Bytea and pg_dump/dumpall

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group