Skip to content

Prepare SQL from file on application start. New function for using pr…#4

Open
eshubin wants to merge 5 commits into
epgsql:masterfrom
eshubin:master
Open

Prepare SQL from file on application start. New function for using pr…#4
eshubin wants to merge 5 commits into
epgsql:masterfrom
eshubin:master

Conversation

@eshubin

@eshubin eshubin commented Aug 11, 2015

Copy link
Copy Markdown

Prepared SQL functionality.
It introduces new setting to a pool, but is backward-compatible.

@eshubin

eshubin commented Aug 11, 2015

Copy link
Copy Markdown
Author

If you can make a tag after merging, it would be amazing.

@eshubin eshubin mentioned this pull request Aug 12, 2015
@eshubin

eshubin commented Feb 3, 2016

Copy link
Copy Markdown
Author

this could be merged after epgsql/epgsql#92

@eshubin

eshubin commented Feb 18, 2016

Copy link
Copy Markdown
Author

@davidw @seriyps @fishcakez once you have merged epgsql/epgsql#92, can you please check this PR? It prepares sql statements from file on start of pgapp, which later could be used in new epgsql:prepared_query function.

Comment thread src/pgapp_worker.erl


-include_lib("epgsql/include/epgsql.hrl").
-include("worker_args.hrl").

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Includes should be somewhere in module's header (near defines).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants