Re: creating a table in plpython? - Mailing list pgsql-general

From David G. Johnston
Subject Re: creating a table in plpython?
Date
Msg-id CAKFQuwZG1POaPQa2MgfgOgg2FF0aSY52gi0cb46OSvh5hGng6Q@mail.gmail.com
Whole thread Raw
In response to creating a table in plpython?  (Celia McInnis <celia.mcinnis@gmail.com>)
Responses Re: creating a table in plpython?  (Celia McInnis <celia.mcinnis@gmail.com>)
List pgsql-general
On Wed, Jan 10, 2018 at 4:27 PM, Celia McInnis <celia.mcinnis@gmail.com> wrote:
Hi - Is it possible to create a table inside a plpython stored procedure? If so, can you give an example of how to do so?


​Haven't used pl/python myself but...​


so... plpy.execute("CREATE TABLE ...") ?

David J.

pgsql-general by date:

Previous
From: Celia McInnis
Date:
Subject: creating a table in plpython?
Next
From: Celia McInnis
Date:
Subject: Re: creating a table in plpython?