Fix typos
Fix a silent-fail case
avoid warning in postgres log file.
Avoid the third warning message
remove unused argument
test save/restore of UTF-8 strings as well.
Merge pull request #457 from linas/master

Assorted minor postgresql cleanups