首页 > 数据库 >brew安装postgresql@15

brew安装postgresql@15

时间:2024-06-06 10:04:17浏览次数:13  
标签:opt ... 15 Logs Removing brew postgresql

% brew install -s postgresql@15
Running `brew update --auto-update`...
==> Fetching postgresql@15
==> Downloading https://ftp.postgresql.org/pub/source/v15.1/postgresql-15.1.tar.bz2
#                                                                          2.0%
######################################################################## 100.0%
==> ./configure --prefix=/opt/homebrew/Cellar/postgresql@15/15.1 --libdir=/opt/homebrew/Cellar/postgresql@15/15.1/lib --datadir=/opt/homebrew/opt/postgresql@15/share/postgresql@15 --libdir=/opt/homebrew/o
==> make pkglibdir=/opt/homebrew/opt/postgresql@15/lib/postgresql pkgincludedir=/opt/homebrew/opt/postgresql@15/include/postgresql includedir_server=/opt/homebrew/opt/postgresql@15/include/postgresql/serv
==> make install-world datadir=/opt/homebrew/Cellar/postgresql@15/15.1/share/postgresql@15 libdir=/opt/homebrew/Cellar/postgresql@15/15.1/lib pkglibdir=/opt/homebrew/Cellar/postgresql@15/15.1/lib/postgres
==> /opt/homebrew/Cellar/postgresql@15/15.1/bin/initdb --locale=C -E UTF-8 /opt/homebrew/var/postgresql@15
==> Caveats
This formula has created a default database cluster with:
  initdb --locale=C -E UTF-8 /opt/homebrew/var/postgresql@15
For more details, read:
  https://www.postgresql.org/docs/15/app-initdb.html

postgresql@15 is keg-only, which means it was not symlinked into /opt/homebrew,
because this is an alternate version of another formula.

If you need to have postgresql@15 first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/postgresql@15/bin:$PATH"' >> ~/.zshrc

For compilers to find postgresql@15 you may need to set:
  export LDFLAGS="-L/opt/homebrew/opt/postgresql@15/lib"
  export CPPFLAGS="-I/opt/homebrew/opt/postgresql@15/include"


To restart postgresql@15 after an upgrade:
  brew services restart postgresql@15
Or, if you don't want/need a background service you can just run:
  /opt/homebrew/opt/postgresql@15/bin/postgres -D /opt/homebrew/var/postgresql@15
==> Summary

标签:opt,...,15,Logs,Removing,brew,postgresql
From: https://www.cnblogs.com/Primzahl/p/17885946.html

相关文章

  • Day15 | 102. 二叉树的层序遍历 、226.翻转二叉树 101. 对称二叉树
    102.二叉树的层序遍历看完本篇可以一口气刷十道题,试一试,层序遍历并不难,大家可以很快刷了十道题。题目链接/文章讲解/视频讲解:https://programmercarl.com/0102.二叉树的层序遍历.html#Definitionforabinarytreenode.#classTreeNode:#def__init__(self,val=0......
  • 「清新题精讲」P2150 [NOI2015] 寿司晚宴
    P2150[NOI2015]寿司晚宴Statement给定\(n-1\)个数分别为\(2\simn\),从中选出交集为空的两个集合\(A,B\)(集合的并集不必须为\(\{2,\dots,n\}\),且集合可为空)使得不存在\(a\inA,b\inB\)满足\((a,b)\ne1\)(即任意两个数均互质),将方案数对\(p\)取模后输出。\(2\len\le......
  • 实验15-使用RESNET完成图像分类
    model.py#-*-coding:utf-8-*-"""author:ZhouChendatetime:2019/6/259:10desc:实现模型"""fromkeras.modelsimportModelfromkeras.layersimportConv2D,MaxPooling2D,BatchNormalization,Flatten,Input,ZeroPadding2D......
  • POSTGRESQL中时间戳的奥秘timestamptz
    哈喽,大家好,我是木头左!一、前言在日常的数据库操作中,经常会遇到各种时间相关的数据类型,如DATE、TIME、TIMESTAMP等。这些时间类型的处理方式和精度差异,直接影响到对数据的查询和分析结果。今天,就来深入探讨一下POSTGRESQL中的两个重要时间戳类型:timestamp和timestamptz,看看它们......
  • CSP历年复赛题-P2671 [NOIP2015 普及组] 求和
    原题链接:https://www.luogu.com.cn/problem/P2671题意解读:找到所有符合条件的三元组,累加三元组的分数,结果对10007取模。解题思路:仔细读题,并分析数据规模,1~4个数据点可以通过O(n^2)复杂度解决,也就是枚举法。1、枚举法要求x<y<z,y−x=z−y,移项可得x+z=2*y,并且c......
  • P7860 [COCI2015-2016#2] ARTUR
    原题链接教训1.计算几何,能用乘法就不用除法2.计算几何,开longlong3.计算几何,注意直线的特殊性code#include<bits/stdc++.h>#definelllonglongusingnamespacestd;structnode{llx1,y1,x2,y2;}sk[5005];intcheck(nodea,nodeb){if(a.x2<b.x1||a.x1>b.......
  • 5.15
    【附实验报告格式】Pyhton环境与基础训练班级:信2205-1 学号:20224074 姓名:王晨宇一实验目的l 使学生熟悉Python环境的安装与配置,熟悉Python解释器的使用。l 使学生掌握Python控制语句、函数结构等的基本语法知识和使用。l 使学生掌握Python的基本数据类型、列表......
  • 国际版 抖音tiktok实战课程,向海外抖音出发(15节课)
    亲爱的朋友们,你们是否梦想着让自己的创意在全球舞台上闪耀?是否想要在国际版抖音TikTok上建立自己的影响力?那么,你来对地方了!我们的TikTok实战课程将带你启程,从基础到进阶,一步步解锁海外抖音的无限可能。准备好了吗?让我们携手踏上这场充满乐趣和挑战的旅程!课程概览:第1课:点......
  • 国际版 抖音tiktok实战课程,向海外抖音出发(15节课)
    课程目录1-点线传媒在9月17日15kctok速成免费课程_1.mp42-tiktok基础课程(学习如何快速破百,万播放和快速涨粉)1.mp43-tiktok实操课程一(教大家如何去网络搭建和环境设置)_1.mp44-tiktok实操课程二(批量注册邮箱)_1.mp47-tiktok进阶课程前言(内容运营、团队搭建、矩阵玩法、商业......
  • CF1572A Book
    题目链接:https://codeforces.com/problemset/problem/1572/A大致思路:题目想问的是从头到尾阅读多少次之后,才能读完这本书.这是一道很套路的拓扑排序的题.看到一个事件有前置条件这种,就应该想到建一个有向无环图然后跑拓扑排序,在这里,我们建立一条从前置条件指向当前页码的......