我使用PGadmin的備份功能,在另一個空表上還原,但是一直報錯我這個環境配置row_security無法識別,但是都是同一個資料庫下作的呀。。報錯如下:
pg_restore: connecting to database for restore
pg_restore: [archiver (db)] Error while INITIALIZING:
pg_restore: [archiver (db)] could not execute query: ERROR: unrecognized configuration parameter "idle_in_transaction_session_timeout"
Command was: SET idle_in_transaction_session_timeout = 0;
pg_restore: [archiver (db)] could not execute query: ERROR: unrecognized configuration parameter "row_security"
Command was: SET row_security = off;
WARNING: errors ignored on restore: 2
uj5u.com熱心網友回復:
應該是版本的的問題,你查下準備在上面還原的 postgresl 的版本,如果低于 9.5 ,那是不支持這個選項的select version()
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/86711.html
標籤:PostgreSQL
上一篇:資料庫作業,使用查詢給變數賦值,遇到ERROR 1241 (21000): Operand should contain 1 column(s) 該怎么改呢?
下一篇:Mac版DBeaver連接oracle顯示can' initialize tunnel socket is not established
