From 7ba903abb24a2791f38fb96b2aca3bbb6d5ab614 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Thu, 16 Feb 2017 11:30:07 -0500
Subject: [PATCH] Doc: remove duplicate index entry.

This causes a warning with the old html-docs toolchain, though not with the
new.  I had originally supposed that we needed both <indexterm> entries to
get both a primary index entry and a see-also link; but evidently not,
as pointed out by Fabien Coelho.

Discussion: https://postgr.es/m/alpine.DEB.2.20.1702161616060.5445@lancre
---
 doc/src/sgml/syntax.sgml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml
index 4ea667bd52..40f722c18d 100644
--- a/doc/src/sgml/syntax.sgml
+++ b/doc/src/sgml/syntax.sgml
@@ -1697,9 +1697,6 @@ SELECT string_agg(a ORDER BY a, ',') FROM table;  -- incorrect
    </para>
 
    <para>
-    <indexterm>
-     <primary>median</primary>
-    </indexterm>
     <indexterm>
      <primary>median</primary>
      <seealso>percentile</seealso>
-- 
2.40.0