Re: [GENERAL] Portable PostgreSQL

2005-10-03 Thread Samik Raychaudhuri
On 10/3/2005 12:12 AM, Tom Lane wrote: Samik Raychaudhuri <[EMAIL PROTECTED]> writes: ... What I wanted is a no-trace (or minimal trace), no-admin required kind of installation (I won't be able to create a non-admin user in the comp), which, when I am done, I can just

Re: [GENERAL] Portable PostgreSQL

2005-10-02 Thread Samik Raychaudhuri
n? Is there a way to extract fles from msi? Thanks. -Samik On 10/2/2005 1:00 PM, Marc G. Fournier wrote: Any one of the binary packages should allow that ... if you are looking at Windows, check out the pginstaller project on http://www.pgfoundry.org ... On Sun, 2 Oct 2005, Samik Raychaudhuri

Re: [GENERAL] Portable PostgreSQL

2005-10-02 Thread Samik Raychaudhuri
I found the binary-no-install for 8.0.3 sometime back. Will test it out. Thanks for your help. -Samik On 10/2/2005 3:31 PM, Magnus Hagander wrote: Hello Group: Is there any 'portable' version of PostgreSQL for Windows? By 'portable' I mean, I can just unzip files, run the initdb and then run

[GENERAL] Portable PostgreSQL

2005-10-02 Thread Samik Raychaudhuri
Hello Group: Is there any 'portable' version of PostgreSQL for Windows? By 'portable' I mean, I can just unzip files, run the initdb and then run the postmaster and I get a temporary database server running on port 5432 and accepting connections? Thanks. -Samik ---(e

Re: [GENERAL] CGI program cannot access database

2004-10-08 Thread Samik Raychaudhuri
I still couldn't configure apache not to remove the variable from the environ. Can you please let me know how to do that? Regards. -Samik On 10/8/2004 1:34 AM, Maarten Boekhold wrote: Are you trying to run this under cygwin? If so, there's a very recent thread on the cygwin mailing list about thi

Re: [GENERAL] CGI program cannot access database

2004-10-08 Thread Samik Raychaudhuri
I solved the problem, getting hints from Maarten. This is for posterity. I looked at this thread: http://www.cygwin.com/ml/cygwin/2004-09/msg01159.html This thread (as well as Maarten) suggests to set/pass SYSTEMROOT environment variable in Apache. I didn't know how to do that, googling helped.

Re: [GENERAL] CGI program cannot access database

2004-10-08 Thread Samik Raychaudhuri
Hello, Yes I am trying to run this under Cygwin. My apache server is running locally, but the postgresql server is running remote at freesql.org. I tried to search for the thread in postgresql-cygwin, but couldn't find it. The only thread I came up with is this one: http://archives.postgresql.or

Re: [GENERAL] CGI program cannot access database

2004-10-08 Thread Samik Raychaudhuri
On 10/8/2004 10:17 AM, Steven Klassen wrote: $dbh=DBI->connect("dbi:Pg:dbname='samik';host='abc.org';port=5432","samik",""); It seems that machine can't resolve abc.org (although I can). The format of your connect string is a little unorthodox, but it seems to work in general. Thanks very

Re: [GENERAL] CGI program cannot access database

2004-10-08 Thread Samik Raychaudhuri
Hello, Thanks very much for the replies. Please find follow-ups inline. On 10/8/2004 11:05 AM, Michael Fuhr wrote: On Fri, Oct 08, 2004 at 08:17:07AM -0700, Steven Klassen wrote: * Samik Raychaudhuri <[EMAIL PROTECTED]> [2004-10-07 21:12:31 -0500]: $dbh=DBI->connect("dbi:Pg

[GENERAL] CGI program cannot access database

2004-10-07 Thread Samik Raychaudhuri
Hello, I am trying to run a perl CGI program for accessing a database. The program runs fine from command prompt, producing expected output. But it gives errors while running as CGI. - Program - use DBI; use DBD::Pg; print "Content-type: text/plain\n\n"; $dbh=DBI->connect("db