Open clkao opened 11 years ago
Which attributes are required if used on heroku?
Which attributes are required if used on heroku?
i assume by explicitly defining external postgresql host and dbname in either the node or resource should mean the user is taking care of the pg configuration, and the resource should probably bypass db creation and just do the import bits
Ok. I get your point about cleaning the resource from most postgres code.
Do you have any experience with executing "CREATE LANGUAGE plpgsql" as normal user (not postgres user)?
Also, database import is tied to database creation. Import will fail or act unpredictable if executed more often than once, after database creation. Any clue how to fix this?
i think with newer postgresql, we can do:
CREATE EXTENSION IF NOT EXISTS plpgsql
for import after creation, perhaps subscribing the postgresql_database resource? I am not very familiar with the database recipes though.
if a lf resource is defined with postgres host, we should skip setting up postgresql resources entirely.
(for example i found that heroku postgres is perfectly capable of running lqfb, and would like to configure my instance to use it)