如何在 Mac OS X 上的 postgres 中安装 tablefunc? [英] How to install tablefunc in postgres on Mac OS X?

查看:100
本文介绍了如何在 Mac OS X 上的 postgres 中安装 tablefunc?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 StackBuilder 在我的 Mac OS X 机器上安装 Postgres 9.2.

I used StackBuilder to install Postgres 9.2 on my Mac OS X machine.

现在需要使用tablefunc,好像没有这个功能.

Now I need to use tablefunc and it seems that the function is not available.

如何在 Mac 上安装 contrib 包?

How do I install the contrib package on the Mac?

推荐答案

正如 a_horse_with_no_name 所建议的,解决方案很简单.

As suggested by a_horse_with_no_name the solution was simple.

我只需要执行:

CREATE EXTENSION tablefunc;

这篇关于如何在 Mac OS X 上的 postgres 中安装 tablefunc?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆