Hello everyone, I reported this documentation bug 3 months ago, but see that it hasn't been fixed in CVS. So here's a patch. It's my first patch submission, so please be forgiving. I used diff -c as indicated in the docs.
The file database-conf.xml currently says (in two places):
<data-source class-name="org.postgresql.PostgresqlDataSource">
<param host="host" database="db"
user="user" password="secret" />
</data-source>
This has the wrong properties for the PostgresqlDataSource. It should
read:
<data-source class-name="org.postgresql.PostgresqlDataSource">
<params server-name="host" port-number="5432"
database-name="db"
user="user" password="secret" />
</data-source>
I fixed the incorrect host and database attribute names, and added the
attribute port-number="54321" since that's not documented elsewhere.
The patch also corrects a couple instances of stray non-ASCII characters.
Cheers,
.T.
database-conf.xml.patch
Description: Binary data
