extracting the sql for a function

From: Paul Tilles <paul(dot)tilles(at)noaa(dot)gov>
To: pgsql-general(at)postgresql(dot)org
Subject: extracting the sql for a function
Date: 2018-08-23 17:17:35
Message-ID: ee1a7fbd-a91d-7166-85b2-9fa9e68b0df6@noaa.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Using postgres Version 9.5

I can extract the sql for a table using

pg_dump  -d database_name  -s  -t  table_name  -f  table_name.sql

Is there something equivalent for extracting the sql for a function from
the database?

Paul Tilles

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Igor Neyman 2018-08-23 17:46:25 RE: extracting the sql for a function
Previous Message Seamus Abshere 2018-08-23 14:57:01 Is my text_pattern_ops index working for a LIKE prefix search with column reference?