Skip to content

Commit

Permalink
Add example odbc.ini and odbcinst.ini
Browse files Browse the repository at this point in the history
Closes #8
  • Loading branch information
colearendt committed Feb 6, 2018
1 parent 077bdec commit 7318bad
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
14 changes: 14 additions & 0 deletions assets/odbc.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[Postgres Dev]
driver = PostgreSQL
server = localhost
uid = rstudio_admin
pwd = admin_user_be_careful
port = 5432
database = postgres
[Postgres Prod]
driver = PostgreSQL
server = localhost
uid = rstudio_prod
pwd = prod_user
port = 5432
database = postgres
40 changes: 40 additions & 0 deletions assets/odbcinst.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[PostgreSQL ANSI]
Description=PostgreSQL ODBC driver (ANSI version)
Driver=psqlodbca.so
Setup=libodbcpsqlS.so
Debug=0
CommLog=1
UsageCount=1

[PostgreSQL Unicode]
Description=PostgreSQL ODBC driver (Unicode version)
Driver=psqlodbcw.so
Setup=libodbcpsqlS.so
Debug=0
CommLog=1
UsageCount=1

[AmazonRedshift]
Driver = /opt/rstudio-drivers/amazonredshift/bin/lib/libamazonredshiftodbc_sb64.so

[Hive]
Driver = /opt/rstudio-drivers/hive/bin/lib/libhiveodbc_sb64.so

[Impala]
Driver = /opt/rstudio-drivers/impala/bin/lib/libimpalaodbc_sb64.so

[Oracle]
Driver = /opt/rstudio-drivers/oracle/bin/lib/liboracleodbc_sb64.so

[PostgreSQL]
Driver = /opt/rstudio-drivers/postgresql/bin/lib/libpostgresqlodbc_sb64.so

[Salesforce]
Driver = /opt/rstudio-drivers/salesforce/bin/lib/libsalesforceodbc_sb64.so

[SQLServer]
Driver = /opt/rstudio-drivers/sqlserver/bin/lib/libsqlserverodbc_sb64.so

[Teradata]
Driver = /opt/rstudio-drivers/teradata/bin/lib/tdataodbc_sb64.so

0 comments on commit 7318bad

Please sign in to comment.