One of the new features in PowerBuilder 2017 R2 is support for PostgreSQL. We're going to take a look at using this new (to PowerBuilder) database.
Installing PostgreSQL and ODBC driver
PostgreSQL is an open source database licensed under the PostgreSQL license, similar to the MIT license. Downloads for the Windows operating system are available from here. PowerBuilder uses ODBC to access PostgreSQL, so you'll need to get an ODBC driver as well. The one from PostgreSQL is available here, although there are third party ODBC drivers as well. When I was testing out this new feature I used the BookTown sample database from O'Reilly Media.
Creating an ODBC database profile
After importing the booktown data using pgAdmin (the admin tool for PostgreSQL), I defined the a system ODBC profile for the database as follows: