学习笔记之PostgreSQL / pgAdmin / Psycopg / PostGIS
PostgreSQL: The world's most advanced open source database
- https://www.postgresql.org/
- POSTGRESQL: THE WORLD'S MOST ADVANCED OPEN SOURCE RELATIONAL DATABASE
- PostgreSQL: Documentation: 10: PostgreSQL 10.4 Documentation
- https://www.postgresql.org/docs/10/static/index.html
PostgreSQL Tutorial - Learn PostgreSQL from Scratch
- http://www.postgresqltutorial.com/
PostgreSQL - 维基百科,自由的百科全书
- https://zh.wikipedia.org/wiki/PostgreSQL
- PostgreSQL是自由的对象-关系型数据库服务器(数据库管理系统),在灵活的BSD风格许可证下发行。它在其他开放源代码数据库系统(比如MySQL和Firebird),和专有系统(比如Oracle、Sybase、IBM的DB2和Microsoft SQL Server)之外,为用户又提供了一种选择。
- PostgreSQL不寻常的名字导致一些读者停下来尝试拼读它,特别是那些把SQL拼读为"sequel"的人。PostgreSQL开发者把它拼读为"post-gress-Q-L"。(Audio sample,5.6k MP3)。它也经常被简略念为"postgres"。
pgAdmin - PostgreSQL Tools
- https://www.pgadmin.org/
- PostgreSQL Tools
- pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
PostgreSQL + Python | Psycopg
- http://initd.org/psycopg/
- Psycopg is the most popular PostgreSQL adapter for the Python programming language. At its core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.
- Psycopg – PostgreSQL database adapter for Python — Psycopg 2.7.5.dev0 documentation
- http://initd.org/psycopg/docs/
GitHub - psycopg/psycopg2: PostgreSQL database adapter for the Python programming language
- https://github.com/psycopg/psycopg2
- PostgreSQL database adapter for the Python programming language http://initd.org/psycopg/
Using psycopg2 with PostgreSQL - PostgreSQL wiki
- https://wiki.postgresql.org/wiki/Using_psycopg2_with_PostgreSQL
- Psycopg2 is a fairly mature driver for interacting with PostgreSQL from the Python scripting language. It is written in C and provides to efficiently perform the full range of SQL operations against Postgres databases. This page deals with the 2nd version of the driver, not much older psycopg driver.
- Psycopg2 Tutorial - PostgreSQL wiki
- https://wiki.postgresql.org/wiki/Psycopg2_Tutorial
psycopg2_百度百科
- https://baike.baidu.com/item/psycopg2/4439545
- psycopg2,是Python语言的PostgreSQL数据库接口,是对Psycopg 1.1.x版本进行的几乎完全的改写。
PostGIS — Spatial and Geographic Objects for PostgreSQL
- http://postgis.net/
- PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL.
- Boundless : Introduction to PostGIS
- http://workshops.boundlessgeo.com/postgis-intro/
- PostGIS extends PostgreSQL with robust spatial database management capabilities. More info
- PostGIS 2.4.5dev Manual
- http://postgis.net/docs/manual-2.4/
- PostGIS is an extension to the PostgreSQL object-relational database system which allows GIS (Geographic Information Systems) objects to be stored in the database. PostGIS includes support for GiST-based R-Tree spatial indexes, and functions for analysis and processing of GIS objects.
- Chapter 8. PostGIS Reference
- https://postgis.net/docs/reference.html#Geometry_Accessors
- ST_AsGeoJSON — Return the geometry as a GeoJSON element.
- https://postgis.net/docs/ST_AsGeoJSON.html
- ST_X — Return the X coordinate of the point, or NULL if not available. Input must be a point.
- https://postgis.net/docs/ST_X.html
- ST_Y — Return the Y coordinate of the point, or NULL if not available. Input must be a point.
- https://postgis.net/docs/ST_Y.html
- ST_Z — Return the Z coordinate of the point, or NULL if not available. Input must be a point.
- https://postgis.net/docs/ST_Z.html
- ST_Distance — For geometry type Returns the 2D Cartesian distance between two geometries in projected units (based on spatial ref). For geography type defaults to return minimum geodesic distance between two geographies in meters.
- https://postgis.net/docs/ST_Distance.html
- Chapter 14. PostGIS Special Functions Index
- https://postgis.net/docs/PostGIS_Special_Functions_Index.html
PostGIS - Wikipedia
- https://en.wikipedia.org/wiki/PostGIS
- PostGIS (/ˈpoʊstdʒɪs/ POST-jis) is an open source software program that adds support for geographic objects to the PostgreSQL object-relational database. PostGIS follows the Simple Features for SQL specification from the Open Geospatial Consortium (OGC).
PostGIS - 维基百科,自由的百科全书
- https://zh.wikipedia.org/wiki/PostGIS
- PostGIS 是一个开源程序,它为对象-关系型数据库PostgreSQL提供了存储空间地理数据的支持,使PostgreSQL成为了一个空间数据库,能够进行空间数据管理、数量测量与几何拓扑分析。PostGIS 实现了Open Geospatial Consortium所提出的基本要素类(点、线、面、多点、多线、多面等)的SQL实现参考。
postgis_百度百科
- https://baike.baidu.com/item/postgis/6091849
- PostgreSQL 是一种对象-关系型数据库管理系统(ORDBMS),也是目前功能最强大、特性最丰富和最复杂的自由软件数据库系统。它起源于伯克利(BSD)的数据库目前功能最强大、特性最丰富和最复杂的研究计划,目前是最重要的开源数据库产品开发项目之一, 有着非常广泛的用户。
PostgreSQL: Documentation: 10: 9.9. Date/Time Functions and Operators
- https://www.postgresql.org/docs/10/static/functions-datetime.html#FUNCTIONS-DATETIME-CURRENT
- PostgreSQL provides a number of functions that return values related to the current date and time. These SQL-standard functions all return values based on the start time of the current transaction
- PostgreSQL also provides functions that return the start time of the current statement, as well as the actual current time at the instant the function is called.
- All the date/time data types also accept the special literal value
nowto specify the current date and time (again, interpreted as the transaction start time). - timestamp '2001-09-28 23:00' - interval '23 hours'
How to replace null with string ?
- PostgreSQL: Documentation: 10: 9.17. Conditional Expressions
- https://www.postgresql.org/docs/10/static/functions-conditional.html#FUNCTIONS-COALESCE-NVL-IFNULL
- 9.17.2. COALESCE
- The
COALESCEfunction returns the first of its arguments that is not null. Null is returned only if all arguments are null. It is often used to substitute a default value for null values when data is retrieved for display
- The
How to use if-else statement ?
- sql - IF-THEN-ELSE statements in postgresql - Stack Overflow
- https://stackoverflow.com/questions/19029842/if-then-else-statements-in-postgresql
- PostgreSQL: Documentation: 10: 9.17. Conditional Expressions
- https://www.postgresql.org/docs/10/static/functions-conditional.html#FUNCTIONS-CASE
- The SQL
CASEexpression is a generic conditional expression, similar to if/else statements in other programming languages
学习笔记之PostgreSQL / pgAdmin / Psycopg / PostGIS的更多相关文章
- PostgreSQL学习笔记(二)-安装pgAdmin
继上篇安装PostgreSQL后,我们需要安装一个PostgreSQL的图形化管理工具. pgadmin管理工具 创建Python的虚拟环境 cd /root/venv python -m venv ...
- 学习笔记之Nearest-Neighbour Searching with PostGIS
PostgreSQL: Documentation: 10: 7.8. WITH Queries (Common Table Expressions) https://www.postgresql.o ...
- 三、docker学习笔记——安装postgresql
1.docker pull postgres 2.docker run --name postgres -e POSTGRES_PASSWORD=123456 -p 5432:5432 -d post ...
- 《A Tour of PostgreSQL Internals》学习笔记——进程间通信
中秋节假期这么快就没了,这几天还一直下雨,索性在家看看书.这次看的是Tom Lane的<A Tour of PostgreSQL Internals>.这篇小随笔就算做学习笔记了.园子里面 ...
- Django学习笔记(三)—— 型号 model
疯狂暑期学习 Django学习笔记(三)-- 型号 model 參考:<The Django Book> 第5章 1.setting.py 配置 DATABASES = { 'defaul ...
- 学习笔记:The Log(我所读过的最好的一篇分布式技术文章)
前言 这是一篇学习笔记. 学习的材料来自Jay Kreps的一篇讲Log的博文. 原文很长,但是我坚持看完了,收获颇多,也深深为Jay哥的技术能力.架构能力和对于分布式系统的理解之深刻所折服.同时也因 ...
- SQLite介绍、学习笔记、性能测试
SQLite介绍.学习笔记.性能测试 哪些人,哪些公司或软件在用SQLite: Nokia's Symbian,Mozilla,Abobe,Google,阿里旺旺,飞信,Chrome,FireFox可 ...
- PHP学习笔记 - 进阶篇(11)
PHP学习笔记 - 进阶篇(11) 数据库操作 PHP支持哪些数据库 PHP通过安装相应的扩展来实现数据库操作,现代应用程序的设计离不开数据库的应用,当前主流的数据库有MsSQL,MySQL,Syba ...
- Flas-SQLAchemy数据库操作使用学习笔记
Flas-SQLAchemy数据库操作使用学习笔记 Flask-SQLALchemy 是一个给你的应用添加 SQLALchemy 支持的 Flask 扩展.SQLALchemy 是Python语言的S ...
随机推荐
- this语句的知识点第五点
对不起大家久等了 最后一点 第五点 给元素中的某一个事件绑定方法,当事件触发时,执行绑定的方法,方法中的this指向当前元素. funciton fn(){ console.log(this) } d ...
- C++学习(九)(C语言部分)之 项目 推箱子游戏
游戏制作 推箱子 步骤分析 1.模板 2.模板分析 组成元素: 空地 墙 人 目的地 箱子 背景 3.如何操作 通过WASD键盘操作人,推着箱子,到达目的地,游戏结束,如果箱子卡在死角则游戏失败 4. ...
- 构建工具(build tool)简述
一.什么是构建工具 构建工具是一个把源代码生成可执行应用程序的过程自动化的程序(例如Android app生成apk).构建包括编译.连接跟把代码打包成可用的或可执行的形式. 基本上构建的自动化是编写 ...
- MySQL中INFORMATION_SCHEMA
select database(); 获取当前连接的数据库name 来源:http://www.cnblogs.com/drake-guo/p/6099436.html select auto_in ...
- 【分布式事务】阿里fescar
一.什么是Fescar FESCAR(Fast & Easy Commit And Rollback) 是一个用于微服务架构的分布式事务解决方案,它的特点是高性能且易于使用,旨在实现简单并快速 ...
- Jenkins部署项目
第三首先部署好Jenkins 新建一个自由项目 svn地址,credentials是指认证,点击Ad那里添加,并选择username和password方式,并输入用户名和密码 H/5 * * * * ...
- nginx日志分割配置实例
Nginx没有类似Apache的cronolog日志分割处理的功能,但是,可以通过nginxNginx的信号控制功能利用脚本来实现日志的自动切割.请看下面的一个实例.Nginx对日志进行处理的脚本: ...
- s3c2140 开发板笔记
文章目录 原理图补充说明 开机串口输出 开发板硬件配置 参考文档 工具下载 代码下载 安装交叉编译器 编译kernel 制作文件系统 配置nfs 配置smb Minimal client-only S ...
- terraform 几个方便的工具
几个方便的terraform 工具,方便了解terraform terraform-docs 方便的查看资源的信息(支持markdown,json 格式),对于ci/cd 很方便 项目地址 https ...
- 手动安装python库
有些时候由于工作环境的限制如proxy,不能自动安装python 的第三方的库(用python –m pip install package).在这个情况下,只能自己手动安装.以xlwt-1.3.0. ...