postgres 表空间

pujitan978 2019-11-19 04:49:41
把一个网络saba 通过windows 的映射,为一个盘符y(可读写)。想在映射这个盘上,建个表空间。一直提示没有权限.



create tablespace test1 owner postgres location "\\192.168.100.109\tablespace\testspace"
或者 create tablespace test1 owner postgres location "Y:\testspace" 都提示没有权限。
...全文
74 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
丁劲犇 2020-01-23
  • 打赏
  • 举报
回复
先建立文件夹,右键资源管理器,属性、安全,而后给足Everyone 所有权限即可。
wandier 2019-12-05
  • 打赏
  • 举报
回复
引用 楼主 pujitan978的回复:
把一个网络saba 通过windows 的映射,为一个盘符y(可读写)。想在映射这个盘上,建个表空间。一直提示没有权限.



create tablespace test1 owner postgres location "\\192.168.100.109\tablespace\testspace"
或者 create tablespace test1 owner postgres location "Y:\testspace" 都提示没有权限。
postgres用户是不是没有权限?

951

社区成员

发帖
与我相关
我的任务
社区描述
PostgreSQL相关内容讨论
sql数据库数据库架构 技术论坛(原bbs)
社区管理员
  • PostgreSQL社区
  • yang_z_1
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧