On Sun, September 24, 2006 20:53, Xiaofeng Zhao wrote:
> I'm trying to run the tests but was not able to go past test004.  It seems
> that connect string is not passed to the executable.  I did set the
> environment variable like:
>
> set PGHOST=127.0.0.1
> set PGUSER=xf10036
> set PGDATABASE=xf10036

Can you describe the problem in more detail?  There are one or two tests
that don't accept connection strings on the command line, because the
functionality without a connection string must also be tested.  That's why
the documentation says you should use the environment variables instead.

So are you saying that the variables are being ignored?  If so, what
exactly gives you that impression?  What error message do you get?

Also, what operating system are you on and what shell are you using?  It's
possible that you're not setting the variables correctly.  For example, in
some environments "set FOO=bar" may set a variable called "FOO=bar"
instead of setting the variable FOO to the value bar.

Since these variables are not handled by libpqxx but by the underlying
libpq, it may also be helpful to know what libpq version you're using.


Jeroen


_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general

Reply via email to