Mercurial > hg > orthanc-databases
diff Framework/PostgreSQL/PostgreSQLResult.cpp @ 242:b97a537f4613
MySQL: Support of range reads for the storage area
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 13 Apr 2021 17:00:02 +0200 |
parents | 3236894320d6 |
children | 9d00e5e073e8 |
line wrap: on
line diff
--- a/Framework/PostgreSQL/PostgreSQLResult.cpp Tue Apr 13 12:07:30 2021 +0200 +++ b/Framework/PostgreSQL/PostgreSQLResult.cpp Tue Apr 13 17:00:02 2021 +0200 @@ -175,6 +175,10 @@ { CheckColumn(column, OIDOID); + /** + * In PostgreSQL, the type "Oid" corresponds to "unsigned int", cf. + * /usr/include/postgresql/10/server/postgres_ext.h + **/ Oid oid; assert(PQfsize(reinterpret_cast<PGresult*>(result_), column) == sizeof(oid));