[
https://issues.apache.org/jira/browse/CAMEL-15297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17158903#comment-17158903
]
Daniel Mernov commented on CAMEL-15297:
---------------------------------------
Hi. Yeah sure.
[https://www.postgresql.org/docs/12/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS]
According to 4.1.1 pg allows you make names with letters, numbers and
specsymbols $ -. But, if you use double quotes your name can contains any
character.
> Issue with URI verification
> ---------------------------
>
> Key: CAMEL-15297
> URL: https://issues.apache.org/jira/browse/CAMEL-15297
> Project: Camel
> Issue Type: Bug
> Reporter: Daniel Mernov
> Priority: Minor
>
> PostgreSQL allows you make database name with "-" sign f.e. "my-database".
> According to regexes in
> [https://github.com/apache/camel/blob/master/components/camel-pgevent/src/main/java/org/apache/camel/component/pgevent/PgEventEndpoint.java]
> is impossible to use such names in camel-pgevent components. Now it throws
> IllegalArgumentException.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)