[英]How to store data(tablenames) extracted from PG_TABLE_DEF into a table/temp table
[英]Why are my tables not listed in the Redshift pg_table_def system table?
“要在群集上永久修改搜索路徑,請修改當前與群集關聯的參數組中的search_path參數。有關分步說明,請參閱以下鏈接: -
http://docs.aws.amazon.com/redshift/latest/mgmt/managing-parameter-groups-console.html “
這是舊的,但如果有人像我一樣在命令行上尋找直接答案:
設置search_path
參數以包含所需的模式。 對於單個 session ,它是SET search_path TO my_schema, my_second_schema [...]
對於任意數量的模式。 要為一個用戶永久設置搜索路徑,它是ALTER USER my_user SET search_path TO my_schema, my_second_schema [...]
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.