2018-02-20 15:27 GMT+03:00 Alex Peshkoff via Firebird-devel
<firebird-devel@lists.sourceforge.net>:
> Always requiring object type is best of possible solutions but I'm afraid
> that's unreal.
>
> I've supposed missing keyword, i.e. real failing statement is:
>
> grant select on t to FUNCTION wrong_func;
>
> Roman - am I wrong?

Right. I meant explicit keyword. See this:

roman:bin$ ./isql
Use CONNECT or CREATE DATABASE to specify a database
SQL> create database 'a';
SQL> create table t(i integer);
SQL> grant select on t to function wrong_func;
SQL> show function wrong_func;
There is no user-defined function WRONG_FUNC in this database

In this case it's a bug right?

-- 
Roman Simakov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to