Fix bug #3: Inserting notes on PostgreSQL