Seeing this with info logs which I never had on in the past:

Archiveopteryx[32340]: 61158/13/1 Note: Expected type string for column "flag", 
but received null

The values in the database are integers and the schema is integer, so this 
seems odd.

archiveopteryx=# \d flags
                Table "public.flags"
 Column  |  Type   | Collation | Nullable | Default
---------+---------+-----------+----------+---------
 mailbox | integer |           | not null |
 uid     | integer |           | not null |
 flag    | integer |           | not null |
Indexes:
    "fl_mu" btree (mailbox, uid)
Foreign-key constraints:
    "flags_flag_fkey" FOREIGN KEY (flag) REFERENCES flag_names(id)
    "flags_mailbox_fkey" FOREIGN KEY (mailbox, uid) REFERENCES 
mailbox_messages(mailbox, uid) ON DELETE CASCADE

-- 
  Mark Felder
  [email protected]

Reply via email to