![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
postgresql
只爱写代码
这个作者很懒,什么都没留下…
展开
-
ubuntu下安装psycopg2报错
错误信息如下:Error: pg_config executable not found. pg_config is required to build psycopg2 from source. Please add the directory containing pg_config to the $PATH or specify the full executa...原创 2020-03-14 19:49:02 · 1141 阅读 · 1 评论 -
docker中使用postgresql
拉取postgersql镜像sudo docker pull postgres启动postgresql容器sudo docker run --name crpsql -e POSTGRES_PASSWORD=123456 -p 5432:5432 -d postgres进入容器sudo docker exec -it crpsql bash...原创 2020-03-13 18:54:20 · 762 阅读 · 0 评论 -
Postgresql基本操作
一、创建用户# 切换到postgres用户sudo su - postgres# 创建用户create user test with password '123456';二、创建数据库create database testdb owner test;参考链接原创 2020-02-07 22:10:32 · 181 阅读 · 0 评论