orioledb / orioledb

OrioleDB – building a modern cloud-native storage engine (... and solving some PostgreSQL wicked problems)  🇺🇦

Home Page:https://orioledb.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR: cursor can only scan forward

Tanyaevm opened this issue · comments

Tested on main
Commit 6324457

sql/test.sql:

CREATE EXTENSION IF NOT EXISTS orioledb;

CREATE TABLE o_test_1(val_1 int)USING orioledb;

CREATE INDEX ON o_test_1 USING btree (val_1);

BEGIN;

SET enable_seqscan = OFF;

DECLARE c CURSOR FOR SELECT * FROM o_test_1 WHERE val_1 = 1;
MOVE BACKWARD 10000 FROM c;

COMMIT;

Error with orioledb

ERROR:  cursor can only scan forward

Run as:

make regresscheck USE_PGXS=1 REGRESSCHECKS="test"