Re: SQL not showing in generated report - Mailing list pgadmin-support

From Guillaume Lelarge
Subject Re: SQL not showing in generated report
Date
Msg-id 1323760967.4359.54.camel@localhost.localdomain
Whole thread Raw
In response to Re: SQL not showing in generated report  (Rick Dicaire <kritek@gmail.com>)
Responses Re: SQL not showing in generated report
List 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@lelarge.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



pgadmin-support by date:

Previous
From: Alexander LAW
Date:
Subject: Re: Backup messages displayed with wrong encoding
Next
From: Rick Dicaire
Date:
Subject: Re: SQL not showing in generated report