postgres.git / summary / log / commit / refs

commit    dabd255d584785c61b1187f10b7bdbf99022ae2d
Author:   Teodor Sigaev <teodor@sigaev.ru>
Date:     Mon Mar 28 16:17:28 2016 +0000

    Fix comment in pg_dump.
    
    It was missed in 473b93287040b20017cc25a157cffdc5b978c254,
    CREATE ACCESS METHOD
    
    Alexander Korotkov


src/bin/pg_dump/pg_dump.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index ad4b4e5135e..77bf8acd9fb 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -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"); [parent: 4c46f83386a7]