DigitalChinaOpenSource / TiDB-for-PostgreSQL

PgSQL compatible on distributed database TiDB
Apache License 2.0
387 stars 21 forks source link

variable,session: add search_path system variable. #58

Closed Orion7r closed 3 years ago

Orion7r commented 3 years ago

What problem does this PR solve?

Add a PostgreSQL system variable named "search_path".

What is changed and how it works?

What's Changed:

Add a system variable,named 'search_path',default value is 'public'.

How it Works:

Now,we can run the related SQL statements properly,like ' set search_path to public'

codecov-commenter commented 3 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@5406f54). Click here to learn what that means. The diff coverage is n/a.

@@            Coverage Diff            @@
##             main        #58   +/-   ##
=========================================
  Coverage        ?   69.4083%           
=========================================
  Files           ?        523           
  Lines           ?     151038           
  Branches        ?          0           
=========================================
  Hits            ?     104833           
  Misses          ?      36266           
  Partials        ?       9939