pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim Nasby <Jim.Nasby@BlueTreble.com>
To: Abhijit Menon-Sen <ams@2ndQuadrant.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: dealing with extension dependencies that aren't quite 'e'
Date: Tue, 1 Mar 2016 07:36:45 -0600
Message-ID: <56D59AED.8080300@BlueTreble.com> (raw)
In-Reply-To: <20160301043320.GA13286@toroid.org>
References: <CAKFQuwYH=Z2EfahWez+qb=RCwCSoOtV7s75To+ysaKpeMwQkpw@mail.gmail.com>
	<18108.1452869354@sss.pgh.pa.us>
	<20160115170826.GA28307@toroid.org>
	<20160116144818.GA17401@toroid.org>
	<58C7A345-193B-4813-A7AA-4B78358313D6@gmail.com>
	<20160118053819.GA18576@toroid.org>
	<20160301012745.GA11489@toroid.org>
	<56D4F6B7.8010200@BlueTreble.com>
	<20160301043320.GA13286@toroid.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 2/29/16 10:33 PM, Abhijit Menon-Sen wrote:
>> >Given the audience for this, I think it'd probably be OK to just
>> >provide a function that does this, instead of DDL.
> That seems like a promising idea. Can you suggest some possible usage?

pg_extension_dependency( regextension, any )

where "any" would be all the other reg* types. That should be a lot less 
work to code up than messing with the grammar.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (40+ messages)  latest in thread

Message-ID: <56D59AED.8080300@BlueTreble.com>
Permalink:  ../56D59AED.8080300@BlueTreble.com/
Also on:    postgresql.org/message-id/56D59AED.8080300@BlueTreble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: Jim.Nasby@BlueTreble.com, ams@2ndQuadrant.com
  Subject: Re: dealing with extension dependencies that aren't quite 'e'
  In-Reply-To: <56D59AED.8080300@BlueTreble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox