Skip to content

Commit d770408

Browse files
authored
Merge pull request #306 from pblottiere/use_cached_schema
Use cached schema if available
2 parents 7b5554d + fbbf3de commit d770408

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pgsql/pc_access.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ Datum pcpatch_unnest(PG_FUNCTION_ARGS)
581581
*/
582582
serpatch = PG_GETARG_SERPATCH_P(0);
583583
patch = pc_patch_deserialize(serpatch,
584-
pc_schema_from_pcid_uncached(serpatch->pcid));
584+
pc_schema_from_pcid(serpatch->pcid, fcinfo));
585585

586586
/* allocate memory for user context */
587587
fctx = (pcpatch_unnest_fctx *)palloc(sizeof(pcpatch_unnest_fctx));

0 commit comments

Comments
 (0)