]> granicus.if.org Git - postgresql/commitdiff
Fix comment in pg_dump.
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 28 Mar 2016 16:17:28 +0000 (19:17 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 28 Mar 2016 16:17:28 +0000 (19:17 +0300)
It was missed in 473b93287040b20017cc25a157cffdc5b978c254,
CREATE ACCESS METHOD

Alexander Korotkov

src/bin/pg_dump/pg_dump.c

index ad4b4e5135e7e5746f2a0462cbcf891d05175e39..77bf8acd9fb37e28ad88af29048fc8b91ce73f57 100644 (file)
@@ -4157,10 +4157,7 @@ getAccessMethods(Archive *fout, int *numAccessMethods)
        /* Make sure we are in proper schema */
        selectSourceSchema(fout, "pg_catalog");
 
-       /*
-        * Select only user-defined access methods assuming all built-in access
-        * methods have oid < 10000.
-        */
+       /* Select all access methods from pg_am table */
        appendPQExpBuffer(query, "SELECT tableoid, oid, amname, amtype, "
                                          "amhandler::pg_catalog.regproc AS amhandler "
                                          "FROM pg_am");