reSQL</SPAN
> password.
</P><PRE
CLASS="SYNOPSIS"
>char * PQencryptPassword(const char *passwd, const char *user);</PRE
><P>
      This function is intended to be used by client applications that
      wish to send commands like <TT
CLASS="LITERAL"
>ALTER USER joe PASSWORD
      'pwd'</TT
>.  It is good practice not to send the original cleartext
      password in such a command, because it might be exposed in command
      logs, activity displays, and so on.  Instead, use this function to
      convert the