The following bug has been logged on the website:
Bug reference: 15924
Logged by: Abhishek Sharma
Email address: abhi30572(at)gmail(dot)com
PostgreSQL version: 10.0
Operating system: Windows 7
Description:
The query which is having joins and foreign table taking too much time to
get execute as compared to sql server. Also variable declaration and use in
sql server is very easy as compare to postgresql. Kindly work on variable
declaration and make it easy to use. Facing lot of due to above reason.