This document describes how to get Squeak to work with a PostgreSQL
setUp
client := ODBCConnection dsn: 'PostgreSQL' user: 'emerson' password: 'xxx'.
client open.
tearDown
client close
testIsConnected
self assert: client isConnected
testMakeTable
| statement |
statement := ODBCStatement connection: client query:
'create table test (a char(20), b real); '.
statement execute.
statement := ODBCStatement connection: client query:
'drop table test'.
statement execute.