"Bing Du" <bdu(at)iastate(dot)edu> writes:
> Regarding of changing ereport(), what's its syntax supposed to be? Would
> ereport(LOG, (buf.data))
> echo password to logs?
See
http://www.postgresql.org/docs/7.4/static/error-message-reporting.html
regards, tom lane