Re: SQL not showing in generated report

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Rick Dicaire <kritek(at)gmail(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: SQL not showing in generated report
Date: 2011-12-13 07:22:47
Message-ID: 1323760967.4359.54.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Mon, 2011-12-12 at 15:40 -0500, Rick Dicaire wrote:
> On Mon, Dec 12, 2011 at 3:21 PM, Guillaume Lelarge
> <guillaume(at)lelarge(dot)info> wrote:
> > On Mon, 2011-12-12 at 14:01 -0500, Rick Dicaire wrote:
> >> Hi folks, I'm generating a dependents report on a db user, I highlight
> >>
> >> I'm trying to see what sql statement is used to generate this report.
> >>
> >
> > It's something like the SQL in the file I attached. I hope I didn't
> > change by mistake while cleaning it. If it doesn't work, take a look at
> > the file pgadmin/schema/pgObject.cpp (two functions ShowDependents, and
> > ShowDependencies).
>
> Thanks, got a syntax error in your code...

Did you add the role OID after "WHERE dep.refobjid="? if you didn't,
yeah, you'll get a syntax error.

> just to be clear, does the
> dependents report on a login role show all objects owned by that login
> role?
>

Yes, but you'll get other stuff too.

--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Rick Dicaire 2011-12-13 15:31:21 Re: SQL not showing in generated report
Previous Message Alexander LAW 2011-12-13 04:15:38 Re: Backup messages displayed with wrong encoding