Sublime Forum

[SQL] Support table definition in different schemas

#1

Hi,

it would be nice, if full quallified table names would be supported:

create table test( id serial );
create table some_schema.test2( id serial );

select * from test;
select * from some_schema.test2;

for the first select standing with the cursor on test the goto definition works as expeceted, but not with the second select. it does just nothing.

thank you!

0 Likes

#2

you may want to log this at

it seems like the problem is that the schema (some_schema) in create table some_schema.test2 is receiving the entity.name scope, and not the table name (test2)

0 Likes

#3

should bugreports always be submitted as issues on github?
no problem.

please note, that i had a typo missing the table in the create table with schema

0 Likes

#4

issues with any of the packages that ship with ST should be submitted on that repo, yes

0 Likes