I'm trying to run simple SQL scripts with type casting on a PostgreSQL db via IntelliJ 14. I have problem with type casting. E.g., consider the following trivial query:
select '100'::INT;
Everytime the following annoying panel appears:
Clearly, the message "Please Provide Missing Values..." drives me crazy, since INT
is not a parameter, but just a type casting. Am I doing something wrong?
IntelliJ lets you define what counts as a parameter and what does not.
Go to "Settings" -> "Tools" -> "Database" and have a look at the "Custom SQL parameters". You probably want to remove
\:\w+
, as it's probably triggered by your type cast.Have a look at the documentation for more information about the parameters: http://blog.jetbrains.com/phpstorm/2014/11/database-language-injection-configuration/