diff --git a/src/TrafficRegistry.php b/src/TrafficRegistry.php
index 100cf59..778984e 100644
--- a/src/TrafficRegistry.php
+++ b/src/TrafficRegistry.php
@@ -121,9 +121,10 @@ class TrafficRegistry extends ServiceProviderBase implements TrafficRegistryInte
 
     // Build a OR condition with LIKES on tag_ids for every tag.
     $or = new Condition('OR');
+    $operator = 'pgsql' === $this->connection->driver() ? 'LIKE BINARY' : 'LIKE';
     foreach ($tag_ids as $tag_id) {
       $syntax = '%;' . $this->connection->escapeLike($tag_id) . '%';
-      $or->condition('tag_ids', $syntax, 'LIKE');
+      $or->condition('tag_ids', $syntax, $operator);
     }
 
     // Perform the query and fetch the URLs from its resultset.
