Michael Ben-Nes <miki@xxxxxxxxxxxx> writes: > You can set postgresql.conf to log all queries to a file. > Sadly you cant distinguish between the databases. See log_line_prefix in 8.0. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match