We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa1dae1 commit 7eba3caCopy full SHA for 7eba3ca
1 file changed
src/dialect/postgresql.rs
@@ -318,4 +318,12 @@ impl Dialect for PostgreSqlDialect {
318
fn supports_xml_expressions(&self) -> bool {
319
true
320
}
321
+
322
+ /// Postgres supports query optimizer hints via the `pg_hint_plan` extension,
323
+ /// using the same comment-prefixed-with-`+` syntax as MySQL and Oracle.
324
+ ///
325
+ /// See <https://github.com/ossc-db/pg_hint_plan>
326
+ fn supports_comment_optimizer_hint(&self) -> bool {
327
+ true
328
+ }
329
0 commit comments