社区
PostgreSQL
帖子详情
COPY t_store2 FROM '/pgsql/store.csv'
xieanxiang
2013-06-05 04:54:26
请问 '/pgsql/store.csv'
这个路径 是什么来的 在哪 ?
请说的仔细一些 我是菜鸟 谢谢
...全文
213
4
打赏
收藏
COPY t_store2 FROM '/pgsql/store.csv'
请问 '/pgsql/store.csv' 这个路径 是什么来的 在哪 ? 请说的仔细一些 我是菜鸟 谢谢
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
iihero
2013-10-17
打赏
举报
回复
带文件名的 COPY 指示 PostgreSQL 服务器直接从文件中读写数据。 如果声明了文件名,那么该文件必须为服务器可见,而且文件名必须从服务器的角度声明。 这是服务器端可见的文件路径。
wscft
2013-10-15
打赏
举报
回复
你自己存放的导入的数据源的目录
jyd30
2013-06-14
打赏
举报
回复
引用 楼主 xieanxiang 的回复:
请问 '/pgsql/store.csv' 这个路径 是什么来的 在哪 ? 请说的仔细一些 我是菜鸟 谢谢
---------------------------------- '/pgsql/store.csv' 这个路径是服务器上的绝对路径。 使用 cd /pgsql 命令,应该能进入这个目录。 或者使用 ls /pgsql/store.csv 命令,可列出这个文件。
clqaitxp
2013-06-06
打赏
举报
回复
一般是服务器上放要导入文件的路径。
https://app.hackthebox.com/machines/Soccer
https://app.hackthebox.com/machines/Soccer ┌──...1 ip6-allnodes ff02::2 ip6-allrouters 10.129.187.153 unika.htb 10.129.187.172 thetoppers.htb 10.129.187.172 s3.thetoppers.htb #10.129.235.232 megacorp....
go技术文章梳理(2018)
Go 入门简介:http://t.cn/EbjzeSt Go GraphQL 新手指南: https://tutorialedge.net/golang/go-graphql-beginners-tutorial/ 你需要 Go web 框架吗:https://medium.com/@tusharsoni/do-you-need-a-...
(mantis1.1.1)config_defaults_inc.php
# the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # Mantis is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; ...
p
sql
常用的命令
p
sql
命令: 1.拷贝数据到excel; postgres=# \
copy
(select * from user_test) to H:\user_test.
csv
with (FORMAT
CSV
);...testdb2=# \
copy
(select * from t_user) to /home/postgres/test.
csv
wit
postgres使用入门-安装
postgres使用手册一、postgres是什么...软件下载2.软件安装内网本地安装官网下载源码安装3.软件使用总结 一、postgres是什么? 因为大家都在用所以想挣钱就得知道、会、 好处 https://www.zhihu.com/question/20010554 ...
PostgreSQL
974
社区成员
1,472
社区内容
发帖
与我相关
我的任务
PostgreSQL
PostgreSQL相关内容讨论
复制链接
扫一扫
分享
社区描述
PostgreSQL相关内容讨论
sql
数据库
数据库架构
技术论坛(原bbs)
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章