You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Zineb BENDHIBA (Jira)" <ji...@apache.org> on 2020/08/04 15:22:00 UTC

[jira] [Comment Edited] (CAMEL-15297) camel-pgevent - Issue with URI verification

    [ https://issues.apache.org/jira/browse/CAMEL-15297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17170875#comment-17170875 ] 

Zineb BENDHIBA edited comment on CAMEL-15297 at 8/4/20, 3:21 PM:
-----------------------------------------------------------------

[~TwilgihtAngelo] : when I read it, it is not the "-" but the underscore "_".  (which works fine by the way)

SQL identifiers and key words must begin with a letter ({{a}}-{{z}}, but also letters with diacritical marks and non-Latin letters) or an underscore ({{_}}). Subsequent characters in an identifier or key word can be letters, underscores, digits ({{0}}-{{9}}), or dollar signs ({{$}}).

Can  you point the sentence where it is mentioned in the doc ?


was (Author: zbendhiba):
[~TwilgihtAngelo] : when I read it, it is not the "-" but the underscore "_".  (which works fine by the way)

SQL identifiers and key words must begin with a letter ({{a}}-{{z}}, but also letters with diacritical marks and non-Latin letters) or an underscore ({{_}}). Subsequent characters in an identifier or key word can be letters, underscores, digits ({{0}}-{{9}}), or dollar signs ({{$}}).

Can  you point the sentence where it is mentioned in the doc ?

> camel-pgevent - 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
>             Fix For: 3.5.0
>
>
> 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)