Add query for nova/oslo.db pg test bug 1393633

516 hits in the last 24 hours, check and gate,
all failures.

Looks like this is related to the oslo.db 1.1.0
release on 11/17 (today).

Change-Id: I2dee4599371104a625dd207b2beeced376c5c199
Related-Bug: #1393633