Re: SQL not showing in generated report

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: SQL not showing in generated report
Дата
Msg-id 1323760967.4359.54.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: SQL not showing in generated report  (Rick Dicaire <kritek@gmail.com>)
Ответы Re: SQL not showing in generated report  (Rick Dicaire <kritek@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Alexander LAW
Дата:
Сообщение: Re: Backup messages displayed with wrong encoding
Следующее
От: Rick Dicaire
Дата:
Сообщение: Re: SQL not showing in generated report