Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

left shift for IP addresses not available to non-system users #3731

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

left shift for IP addresses not available to non-system users #3731

monetdb-team opened this issue Nov 30, 2020 · 0 comments
Labels
bug Something isn't working normal SQL

Comments

@monetdb-team
Copy link

Date: 2015-05-28 21:01:37 +0200
From: Raffy <>
To: SQL devs <>
Version: 11.19.11 (Oct2014-SP3)
CC: @njnes

Last updated: 2015-06-22 22:32:17 +0200

Comment 20898

Date: 2015-05-28 21:01:37 +0200
From: Raffy <>

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0
Build Identifier:

As a non-system user on a non-system schema, using the left_shift does not work:

select * from ip_range where ip << inet '10.0.0.0/8’
SELECT: no such binary operator 'left_shift(inet,inet)'

Doing the same table as moentdb user with the same query, works as intended.

Workaround that works:

select * from test where sys.left_shift(a, inet '10.0.0.0/8');

Reproducible: Always

Steps to Reproduce:

use a non system user and a non-sys schema

create table test (a inet);
insert into test (a) values ('10.0.0.1’);
select * from test where a << inet '10.0.0.0/8’;
SELECT: no such binary operator 'left_shift(inet,inet)'

Comment 20901

Date: 2015-06-02 13:51:03 +0200
From: @njnes

fixed, we now always pass the proper schema info (ie sys).

@monetdb-team monetdb-team added bug Something isn't working normal SQL labels Nov 30, 2020
@sjoerdmullender sjoerdmullender added this to the Ancient Release milestone Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working normal SQL
Projects
None yet
Development

No branches or pull requests

2 participants