I get a script error when trying to connect to postgres. It fails in the following
part of the script:
PgDatabase conn ("host=localhost dbname=group3");
if (conn.ConnectionBad())
{
...
}
/var/log/messages shows
authentication failure; logname=capmag uid=502 euid=0 tty= ruser = rhost=
Hi,
does anybody know who I can change a default format
date displayed in table.
Date is displayed in 'Y-m-d' format but it should
be 'd-m-Y'.
How can I change it?
Thanks
You can set it either within the session, or set a default. For details,
check this page in the docs:
http://www.postgresql.org/idocs/index.php?sql-set.html
(Look for DATESTYLE)
Regards,
-Nick
--
Nick Fankhauser [EMAIL PR