You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/05/30 04:00:24 UTC

[GitHub] [shardingsphere] sandynz commented on issue #18054: Question about logic table and schema name binding relation

sandynz commented on issue #18054:
URL: https://github.com/apache/shardingsphere/issues/18054#issuecomment-1140665798

   Keynotes of discussion with @strongduanmu :
   
   1, logic table in sharding rule will not add schemaName for flexiblity.
   
   2, We could use search_path to determine same table name laying.
   ```
   scaling_db=> show search_path;
      search_path
   -----------------
    "$user", public
   (1 row)
   
   scaling_db=> set search_path to schema1,schema2,schema3;
   SET
   scaling_db=> show search_path;
           search_path
   ---------------------------
    schema1, schema2, schema3
   (1 row)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org