Skip to content

Commit

Permalink
Retrieve schema name using namein function call in pg_tle_available_e…
Browse files Browse the repository at this point in the history
…xtensions
  • Loading branch information
Michal Kleczek committed Feb 3, 2025
1 parent 9ebd879 commit 6626d71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tleextension.c
Original file line number Diff line number Diff line change
Expand Up @@ -2562,7 +2562,8 @@ pg_tle_available_extensions(PG_FUNCTION_ARGS)
if (control->schema == NULL)
nulls[3] = true;
else
values[3] = CStringGetTextDatum(control->schema);
values[3] = DirectFunctionCall1(namein,
CStringGetDatum(control->schema));

tuplestore_putvalues(rsinfo->setResult, rsinfo->setDesc,
values, nulls);
Expand Down

0 comments on commit 6626d71

Please sign in to comment.