From f039bb76ede61a5a5e5c3712e2741340a93d0943 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 9 Nov 2025 14:21:07 -0500 Subject: [PATCH] fix docs code example Change-Id: I7b262725e6eedaeef9ebc0e956cae515b68ed9cd --- doc/build/changelog/migration_21.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/build/changelog/migration_21.rst b/doc/build/changelog/migration_21.rst index d6ca0198bf..2ef92b7db7 100644 --- a/doc/build/changelog/migration_21.rst +++ b/doc/build/changelog/migration_21.rst @@ -1071,7 +1071,9 @@ the new SQL syntax. The index definitions that used the arrow operator syntax (``h -> 'key'``) will not match the new subscript syntax (``h['key']``), which may cause index scans to not be used. -To update an existing index:: +To update an existing index: + +.. sourcecode:: sql -- Drop the old index DROP INDEX IF EXISTS idx_hstore_key; -- 2.47.3