2011/8/15 Levente Uzonyi <span dir="ltr"><<a href="mailto:leves@elte.hu">leves@elte.hu</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
No, we're calling stored procedures, which in theory can be written in any language.</blockquote></div><br>Interesting.<br><br>Is this [1] the right resource for the V3 Postgres code for Squeak 4.x? I was just looking at it and 2/12 tests failed and without too much documentation I tried the following:<br>
<br><span style="font-family: courier new,monospace;">createuser -P test</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">createdb -O test test # with password test</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">psql -Utest -hlocalhost -c"\dt" # just to check I can connect via a socket</span><br style="font-family: courier new,monospace;"><br>now I did the following in a workspace (with and without the Cryptography package in place):<br>
<span style="font-family: verdana,sans-serif;"><br>| connection |<br>(Installer ss project: 'Cryptography') install: 'Cryptography'.<br>(Installer ss project: 'PostgresV3') install: 'PostgresV3'.<br style="font-family: verdana,sans-serif;">
</span><span style="font-family: verdana,sans-serif;">connection := PG3TestConnectionPool default getConnection.</span><br><br><font style="font-family: arial,helvetica,sans-serif;" face="arial,helvetica,sans-serif">Which just fails with a "Couldn't get a connection in 2000 milliseconds!"</font><br style="font-family: arial,helvetica,sans-serif;">
<br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">Alex</span><br style="font-family: arial,helvetica,sans-serif;"><br style="font-family: arial,helvetica,sans-serif;">
<span style="font-family: arial narrow,sans-serif;">[1] <a href="http://www.squeaksource.com/PostgresV3">http://www.squeaksource.com/PostgresV3</a></span><br>