0

Outputting from Postgres to CSV

\f ',' \a \t \o /home/john/moocow.csv SELECT foo,bar FROM whatever; \o \q If a field has newlines, this will break. You can do something like this instead.....  SELECT foo, bar, '"' || REPLACE(REPLACE(field_with_newilne,...
0

can't set default printer to Windows terminal server users

The problem can be happened when using Windows 2003 SP1 and terminal server. Based on the solutions on the internet. Someone mentioned it could be related to problem in registry at [HKEY_CURRENT_USER\Software\Microsoft\Windows...