FoundationDB/sql-layer-adapter-odbc — pull request #18 by louisrli (2014-01-17 15:48:39+00:00)
Title: SQLTablePrivileges, SQLColumnPrivileges

"Implement" SQLColumnPrivileges and SQLTablePrivileges. The implementations basically just retrieve the column and table names and not much else.

SQLColumnPrivileges was actually disabled already (see changes in odbcapi30.c) in the Postgres driver. Since we don't really implement anything useful here, we could disable it. I enabled it but both could be disabled if that seems like it would make more sense. Note that I don't think this option is very user friendly, as there's no message in the logs or output that say the function is disabled if you disable it in odbcapi30.c (it took me a bit to figure out that it was silently not running).

Specs:
- SQLColumnPrivileges: http://msdn.microsoft.com/en-us/library/ms716336(v=vs.85).aspx
- SQLTablePrivileges: http://msdn.microsoft.com/en-us/library/ms713565(v=vs.85).aspx