First excuse me for my poor english.
I just experienced a stupid bug,
after a windows clean installation of postgresql 8.3.7-1 i tried to psql
into db and it failed with the message:
psql: FATAL: invalid value for parameter "client_encoding": "DEFAULT "
please note that there is a space after default...
Ok, I irc chatted and RodiumToad solved it for me (again many BIG thanks), i
just could not see it.
Postgres creates links in start/... and I always used the one named "command
prompt" as a shortcut to psql, BUT in this version (just downloaded) the
link destination is
"C:\WINDOWS\system32\cmd.exe /k set PGCLIENTENCODING=DEFAULT && set
PGPORT=5432"
instead of
"C:\WINDOWS\system32\cmd.exe /k set PGCLIENTENCODING=DEFAULT&& set
PGPORT=5432"
There should be no space after DEFAULT.
Well i lost 2 days thinking about psql bugs, installation bugs, my batch
installer, etc... so i expose it so no others will lose their time searching
for this typo.
Sincerely
Tiziano