从Postgres数据库中删除所有功能 [英] Drop all functions from Postgres database

查看:106
本文介绍了从Postgres数据库中删除所有功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个装有旧的PostGIS损坏版本的数据库.我想轻松地删除数据库中的所有功能(它们全部来自PostGIS).有没有简单的方法可以做到这一点?即使只是提取一个函数名列表也是可以接受的,因为我可以做一个大的DROP FUNCTION语句.

I have a database with an old broken version of PostGIS installed in it. I would like to easily drop all functions in the database (they're all from PostGIS). Is there a simple way to do this? Even simply extracting a list of function names would be acceptable as I could just make a large DROP FUNCTION statement.

推荐答案

A 查看全文

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