You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by "Thomas Dudziak (JIRA)" <ji...@apache.org> on 2005/09/15 23:15:54 UTC
[jira] Commented: (DDLUTILS-16) Support for options when creating databases
[ http://issues.apache.org/jira/browse/DDLUTILS-16?page=comments#action_12329484 ]
Thomas Dudziak commented on DDLUTILS-16:
----------------------------------------
Initial support is in place for PostgreSQL and Derby. Eg. for PostgreSQL, the encoding of the database can now be specified via:
<ddlToDatabase>
<database url="jdbc:postgresql://localhost/ddlutilstest"
driverClassName="org.postgresql.Driver"
username="admin"
password="coolpassword"/>
<createDatabase>
<parameter name="ENCODING" value="'LATIN9'"/>
</createDatabase>
</ddlToDatabase>
(note the single quotes around LATIN9 inside the double quotes - these are required by PostgreSQL for some reason).
> Support for options when creating databases
> -------------------------------------------
>
> Key: DDLUTILS-16
> URL: http://issues.apache.org/jira/browse/DDLUTILS-16
> Project: DdlUtils
> Type: New Feature
> Reporter: Thomas Dudziak
> Assignee: Thomas Dudziak
>
> Eg. for specifying the locale such that for PostgreSQL a
> CREATE DATABASE DbWithLocale WITH ENCODING = 'LATIN1'
> is issued if the option 'encoding' is set to 'LATIN1'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira