> How would one go about retrieving sql commands that are being sent to the
> database.
>
> What I'm trying to do is take a look at the queries and possibly time them
> to see what is taking so long and where is it getting hung up.
If pre-7.3, below entry must be there in postgresql.conf:
debug_print_query = true
If 7.3 or above, below entries must be there in postgresql.conf:
log_statement = true
log_duration = true
regards,
bhuvaneswaran