随笔分类 -  PostgreSQL

摘要:PostgreSQL 14.0 疑问 数据库、schema、table、字段、视图 等的名称有什么规范呢? 使用过程中,可以用字母开头,还可以有下划线,更准确的规则是什么呢? 这些名称的长度有什么限制呢? 带着这些疑问,开始了调查。ben发布于博客园 在官网下载了 PostgreSQL 的文档(PD 阅读全文
posted @ 2023-02-01 22:27 快乐的欧阳天美1114 阅读(463) 评论(0) 推荐(0) 编辑
摘要:PostgreSQL 14.0 pgAdmin 4 Version 5.7 -- 0、序章 要查询数据表信息,需要用到 系统表或系统视图等,比如,pg_tables、pg_class、information_schema 等。 使用 pgAdmin 4 连接数据库,可以看到这些 系统表或系统视图 在 阅读全文
posted @ 2023-01-30 19:15 快乐的欧阳天美1114 阅读(5883) 评论(0) 推荐(0) 编辑
摘要:Java 8 PostgreSQL 10 一直对 timestamp without time zone、timestamp with time zone 类型疑惑。 到底改使用哪个呢? 将 new Date() 存入 两个类型的字段中,pgAdmin工具 展示如下: timestamp witho 阅读全文
posted @ 2022-03-22 19:41 快乐的欧阳天美1114 阅读(1950) 评论(0) 推荐(0) 编辑
摘要:spring boot 2.5.3 Eclipse Version: 2021-03 (4.19.0) org.mybatis.generator:mybatis-generator-maven-plugin:1.4.0 org.postgresql:postgresql -- MyBatis强大的 阅读全文
posted @ 2021-11-22 22:09 快乐的欧阳天美1114 阅读(504) 评论(0) 推荐(0) 编辑
摘要:JAVA 8 Spring Boot 2.5.3 PostgreSQL 10 (on Windows) org.mybatis:mybatis:3.5.7 目录 前言 试验1:连接单个数据库(源) 关于数据库连接池 试验2:连接两个数据库(源)——lib1、lib2 试验3:动态数据库——2个数据库 阅读全文
posted @ 2021-11-14 21:01 快乐的欧阳天美1114 阅读(327) 评论(0) 推荐(0) 编辑
摘要:PostgreSQL 10.18 on Windows -- PostgreSQL\10\bin 下可执行exe文件(部分): psql.exe createdb.exe dropdb.exe initdb.exe createuser.exe dropuser.exe 本文主要展示 psql的使用 阅读全文
posted @ 2021-11-05 20:52 快乐的欧阳天美1114 阅读(6934) 评论(0) 推荐(0) 编辑
摘要:PostgreSQL 10.18 Spring Boot 2.5.3 postgresql-42.2.23.jar -- 建立 Spring Boot项目,选择 依赖包:PostgreSQL Driver等。 <dependency> <groupId>org.postgresql</groupId 阅读全文
posted @ 2021-11-04 00:09 快乐的欧阳天美1114 阅读(106) 评论(0) 推荐(0) 编辑
摘要:PostgreSQL官网1: https://www.postgresql.org/ 逐步进入下载页面: 下面的页面 域名变化为(官方网站2):https://content-www.enterprisedb.com/ 本页下部说明: 点击Windows对于版本后,页面跳转,开始下载: 下载成功得到 阅读全文
posted @ 2021-11-02 21:45 快乐的欧阳天美1114 阅读(275) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示