> My reading of the sqlite3_column_name() doc is that it will return the column name when given valid inputs, with one exception: out of memory. This is also my reading of the docs. Quoting [your first reply](https://sqlite.org/forum/forumpost/a620600467?t=h) to one of my questions: >> Are there other cases not mentioned? > Probably. Can you point to a few important omissions? I guess I've misinterpreted this reply; what I though you meant was: Given valid inputs `sqlite3_column_name()` may return `NULL` if `sqlite3_malloc()` fails, and possibly other cases.