| From: | Omkar Dhorge <omkardhorge(at)gmail(dot)com> |
|---|---|
| To: | pratmeht <pratikmehta28(at)gmail(dot)com> |
| Cc: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: DDLs of a Function |
| Date: | 2019-12-17 05:39:59 |
| Message-ID: | CAKewVuvF9JMgRTZv7PBgsSqPdZ9MyjieGagShgGKmvnUUWgiiw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Hello Pratik,
There is a open source db client 'dbeaver'
You can use this to get the DDLs for the functions.
Attached is the screenshot for your reference,
On Tue, 17 Dec, 2019, 10:30 AM pratmeht, <pratikmehta28(at)gmail(dot)com> wrote:
> Hi Postgres Community,
>
> We want to drop a table and recreate it. As we all know, dropping a table
> even drops the dependent objects like views, MVs, functions. I wanted your
> help to get the DDL of the (dependent) function before we can drop the
> table. Once the dropped table is being recreated, this DDL will be helpful
> to recreate that function.
>
> We found a way to get the DDL of the Views and MVs, but not for function!
> :(
> Can someone please help ?
>
> Regards,
> Pratik Mehta
>
>
>
> --
> Sent from:
> https://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html
>
>
>
| Attachment | Content-Type | Size |
|---|---|---|
|
image/png | 67.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Laurenz Albe | 2019-12-17 13:00:43 | Re: DDLs of a Function |
| Previous Message | pratmeht | 2019-12-17 05:05:49 | Dependent Objects on Table |