简体   繁体   中英

Line Numbers for Errors not returning in SQL Developer when querying postgres

As the title states, I am not getting the line numbers for errors in SQL Developer when I query a Postgres DB. Just a position error. Something like:

ERROR: syntax error at or near "SELECT"
Position: 135

I went into the preference and have the 'Show Line Numbers' enabled:

在此处输入图像描述

but they aren't showing. Is this an issue with Postgres in SQL Developer or something else?

Thanks.

Preference you set is related to line numbers here:

在此处输入图像描述

(that's the result of a mouse right-click).

What you're looking for is related to the way database reports errors. As far as Oracle is concerned, it works as expected:

在此处输入图像描述

As I don't use PostgreSQL, I can't comment it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM