Skip site navigation (1) Skip section navigation (2)

Re: pg_depend explained

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Joel Jacobson <joel(at)gluefinance(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Florian Pflug <fgp(at)phlo(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_depend explained
Date: 2011-01-12 19:27:09
Message-ID: 1294860373-sup-4250@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-hackers
Excerpts from Joel Jacobson's message of mié ene 12 16:06:24 -0300 2011:

> The query below can both produce a DOT-format graph and a tsort of the
> creatable order of objects:
> 
> WITH
> NewObjectOids AS (
>     SELECT * FROM pg_depend WHERE deptype <> 'p'
>     EXCEPT
>     SELECT * FROM pg_depend_before
> ),

I think this code should live in the Wiki somewhere:
http://wiki.postgresql.org/wiki/Snippets

-- 
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

pgsql-hackers by date

Next:From: David FetterDate: 2011-01-12 19:27:46
Subject: Re: arrays as pl/perl input arguments [PATCH]
Previous:From: David E. WheelerDate: 2011-01-12 19:27:05
Subject: Re: arrays as pl/perl input arguments [PATCH]

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group