Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel
borderColorblack
bgColorlightgrey
Excerpt

Use this to create a database source which connects to a postgres database.


Class

Database

Property

ds.xyz.connection.type = postgres

Formal specification

ds.xyz.connection.type = postgres

Required

no

Default


Version

1.0

Comment


Example


Code Block
database.names=xyz 
ds.xyz.connection.driver_class = org.postgresql.Driver 
ds.xyz.connection.url = jdbc:postgresql://localhost/mydatabase 
ds.xyz.connection.username = myuser 
ds.xyz.connection.password = secret 


Reference

gd.query.ds 
col.xyz.query.ds 
datasource.names 
ds.xyz.connection.type = mysql 
ds.xyz.connection.type = postgres 
ds.xyz.connection.type = oracle