I'm moving an application from RoR to Express.js. ActiveRecord postgres adapter has the search_path configuration option.
Is it possible to set the search_path for the Client ?
I'm moving an application from RoR to Express.js. ActiveRecord postgres adapter has the search_path configuration option. Is it possible to set the search_path for the Client ? |
|||
My preference would be to chance this on the database or user if possible.
If that fails you can always make sure your search path is set by building into your connection logic:
That will set it on the connection. |
|||
|
SET search_path = '...'
commands. – Craig Ringer Apr 6 '13 at 5:42search_path
.' – Erwin Brandstetter Apr 6 '13 at 11:48