Fixes postgresql dialect not handling null/undefined.

Also added a note about the lack of postgresql backslash escaping as this took me way longer than it should have to figure out.