1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Remove pg_plan_queries()'s now-useless needSnapshot parameter. It's useless

in 8.3, too, but I'm not back-patching this change since it would break any
extension modules that might be calling that function.
This commit is contained in:
Tom Lane
2008-12-13 02:29:22 +00:00
parent c98a923786
commit b69bde7749
5 changed files with 15 additions and 37 deletions

View File

@ -35,7 +35,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/cache/plancache.c,v 1.24 2008/12/13 02:00:20 tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/cache/plancache.c,v 1.25 2008/12/13 02:29:22 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -503,8 +503,7 @@ RevalidateCachedPlan(CachedPlanSource *plansource, bool useResOwner)
/*
* Generate plans for queries.
*/
slist = pg_plan_queries(slist, plansource->cursor_options,
NULL, false);
slist = pg_plan_queries(slist, plansource->cursor_options, NULL);
}
/*