FinanceRoutines.jl

Financial data routines for Julia
Log | Files | Refs | README | LICENSE

commit c12513ffdb5a3e3ddf38f7429ffac9a84fee8b2d
parent 2f11bd452fcec721c78029793013b96f0433ce81
Author: Erik Loualiche <eloualic@umn.edu>
Date:   Wed, 21 Jan 2026 15:05:34 -0600

problems with connection

Got some segfault maybe due to openssl and connection to postgres

Diffstat:
Msrc/Utilities.jl | 17++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/src/Utilities.jl b/src/Utilities.jl @@ -17,15 +17,14 @@ end Open a Postgres connection on WRDS server """ function open_wrds_pg(user::AbstractString, password::AbstractString) - wrds_conn = Connection( - """ - host = wrds-pgdata.wharton.upenn.edu - port = 9737 - user='$user' - password='$password' - sslmode = 'require' dbname = wrds - """ - ) + conn_str = """ + host = wrds-pgdata.wharton.upenn.edu + port = 9737 + user='$user' + password='$password' + sslmode = 'require' dbname = wrds + """ + wrds_conn = Connection(conn_str) return wrds_conn end