<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Mark,</div><div><br></div><div>Here's a recent example of porting a database store implementation (though not db log in this case), which gives an idea of the things that need to be addressed: <a href="https://github.com/quickfixgo/quickfix/pull/90/files">https://github.com/quickfixgo/quickfix/pull/90/files</a></div><div><br></div><div>Specifically, here's the steps I followed when porting the db store to qf/go:</div><div><ol><li>Ported the sql scripts that create the db tables (I borrowed these almost directly from qf/c++)</li><li>Ported the new SessionSettings (I borrowed a blend of the qf/c++ and qf/j implementation)</li><li>Ported the unit tests. For the qf/go port, I was able to simply reuse the existing <a href="https://github.com/quickfixgo/quickfix/blob/master/store_test.go">generic store_test.go suite</a> (golang's test framework makes this very easy).  It's nicely commented and would make a good basis for your unit tests.</li><li>Ported the actual impl (again a blend of qf/c++ and qf/j impl) to get those tests passing. Examples: <a href="https://github.com/quickfix-j/quickfixj/blob/master/quickfixj-core/src/main/java/quickfix/JdbcLog.java" target="_blank">JdbcLog</a>, <a href="https://github.com/quickfix-j/quickfixj/blob/master/quickfixj-core/src/main/java/quickfix/JdbcLogFactory.java" target="_blank">JdbcLogFactory</a>, <a href="https://github.com/quickfix/quickfix/blob/master/src/C%2B%2B/MySQLStore.cpp">MySQLStore.cpp</a></li><li>Updated the configuration documentation (i.e. SessionSettings).  You can see the correspond <a href="https://www.quickfixgo.org/docs/configuration.html#Storage">qf/go settings here</a> and the corresponding <a href="https://quickfixj.org/usermanual/2.1.0/usage/configuration.html#Storage">qf/j settings here</a>.  Note that since both are db-agnostic, both provide a setting for choosing the desired Driver (e.g. postgres).</li></ol></div><div><div dir="ltr" class="gmail-m_6614136145234891832gmail_signature"><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">--</font></div><font face="arial, helvetica, sans-serif">Mike Gatny</font></div><div dir="ltr"><font face="arial, helvetica, sans-serif">Connamara Systems</font></div></div></div></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail-m_6614136145234891832gmail_attr">On Fri, Jan 18, 2019 at 1:04 PM Mark Johnson <<a href="mailto:mark.johnson@finbourne.com" target="_blank">mark.johnson@finbourne.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-GB">
<div class="gmail-m_6614136145234891832gmail-m_-6038636170023124103WordSection1">
<p class="MsoNormal">Hello – does QuickFIX/N support [logging] and [file storage] to databases such as Postgres as an alternative to simply writing to disk by setting the FileStorePath and FileLogPath configuration options please?<span style="font-size:10.5pt;font-family:Verdana,sans-serif;color:rgb(17,17,17);background:rgb(229,236,249)"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div style="font-size:10pt;font-family:Calibri,sans-serif">
<hr style="height:1px;border:none">
<a href="https://www.finbourne.com" target="_blank"><img src="https://content.finbourne.com/FIN_logo_email.png" alt="FINBOURNE Technology - Liberate. Simplify. Connect."></a>
<br>
<br>
<b>Mark Johnson</b><br>
FINBOURNE Technology Limited<br>
41 Luke Street, London, EC2A 4DP<br>
<a href="https://www.finbourne.com" target="_blank">www.finbourne.com</a><br>
<br>
<br>
<br>
</div>
<div style="font-size:8pt;font-family:Calibri,sans-serif">PLEASE READ: The information contained in this e-mail is confidential and intended for the named recipient(s) only. If you are not an intended recipient of this e-mail you must not copy, distribute
 or take any further action in reliance on it and you should delete it and notify the sender immediately. E-mail is not a secure method of communication and FINBOURNE Technology Limited cannot accept responsibility for the accuracy or completeness of this message
 or any attachment(s). FINBOURNE Technology Limited, registered in England and Wales, company number 10539696. The registered office is The Rise Building, 41 Luke Street, London, United Kingdom, EC2A 4DP.</div>
</div>

_______________________________________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
</blockquote></div></div></div></div>