On 2015-06-15 00:50:08 +0200, Petr Jelinek wrote:
> +                             /* Create and execute new CREATE EXTENSION 
> statement. */
> +                             ces = makeNode(CreateExtensionStmt);
> +                             ces->extname = curreq;
> +                             ces->if_not_exists = false;
> +                             parents = lappend(list_copy(recursive_parents), 
> stmt->extname);
> +                             ces->options = 
> list_make1(makeDefElem("recursive",
> +                                                                             
>                           (Node *) parents));
> +                             CreateExtension(ces);

I think we should copy the SCHEMA option here and document that we use
the same schema. But it needs to be done in a way that doesn't error out
if the extension is not relocatable...


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to