Open nhibernate-bot opened 6 years ago
Another example where colons give trouble for postgres:
DO $$
declare
filename text;
begin
-- I am a comment with ::inside
filename := 'test';
end $$
In the comment is the colon interpreted as well! Root cause of parsing issue can be found at ParameterParser class here https://github.com/nhibernate/nhibernate-core/blob/7ed5bc82fc446ddaeed14c526fcde7bc5a65b28d/src/NHibernate/Engine/Query/ParameterParser.cs#L109.
Sean McElroy created an issue — :