pramsey/pgsql-http

Unqualified reference to `http_request`

olirice opened this issue · 0 comments

The inner http function fails with

type http_request does not exist

If the extension is created in a schema that is not on the executing role's search_path due to this unqualified type reference

CREATE OR REPLACE FUNCTION http(request http_request)

Updating it to

CREATE OR REPLACE FUNCTION http(request @extschema@.http_request)  

resolved the issue