Hi,

> a lot of people would pay some money to see H2 being faster, more stable,
more SQL 2003+ (CTE, complex merge, etc) etc

Yes, I understand that... Right now we don't have the people for this I'm
afraid.

As for the issue at hand: I don't see why it's a syntax error in
PostgreSQL. Unlike PostgreSQL, in H2 it is not a bug to use an empty list.
Similar than using an empty array is not a bug in Java either. Please note
that H2 is not, and doesn't currently try to be 100% compatible with all
other databases.

Regards,
Thomas

On Wed, Mar 29, 2017 at 1:53 PM, Mikie Mike <[email protected]> wrote:

> jdbc:h2:tcp://localhost:8082/mem:db;DB_CLOSE_DELAY=-1;MODE=PostgreSQL
>
>
> select distinct user0_.id  from USERS user0_ where user0_.id in ();
>
>
> actual result: *empty output, no error produced*
>
> expected result: *[42601] ERROR: syntax error at or near ")"*
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to