Re: Search the schema
От | Michael Shapiro |
---|---|
Тема | Re: Search the schema |
Дата | |
Msg-id | CAGCvxeYK3ksF1cfbKFCEhpx1wokFuMJzW2ADhoq=Fx+_U_jspQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Search the schema (Guillaume Lelarge <guillaume@lelarge.info>) |
Ответы |
Re: Search the schema
|
Список | pgadmin-support |
Of course, makes sense, which is why I made the feature request I did (ie, search). Would you consider adding regex expressionsto the search?<br /><br /><div class="gmail_quote">On Thu, Jul 19, 2012 at 3:13 AM, Guillaume Lelarge <span dir="ltr"><<ahref="mailto:guillaume@lelarge.info" target="_blank">guillaume@lelarge.info</a>></span> wrote:<br /><blockquoteclass="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">OnWed, 2012-07-18 at 21:47 -0500, Michael Shapiro wrote:<br /> > What motivated me to ask for this featurewas that I was looking to<br /> > see if the dependents/dependencies tabs<br /> > on function would show allthe objects that use the function and the<br /> > objects that the functions uses, including other functions, views,<br/> > etc.<br /> > Those relationships, I realize, are not explicitly maintained by<br /> > Postgres, butif PgAdmin could emulate that, it would be great.<br /> > But probably hard, so the search was the next best thing.<br/> ><br /><br /></div>Hard is not the issue. The dependents/depencies tabs are for<br /> dependencies as givenby PostgreSQL. It won't change.<br /><div class="im"><br /> > Given that functions have multiple signatures (samefunction name with<br /> > a variable number of args), I'd like to be able to find all the places<br /> > thatone variant of the function is used. For example if there is a<br /> > function A with two variants: A(int,int) andA(int, text) -- I'd like<br /> > to be able to see where<br /> > A(int, text) is used.<br /> ><br /><br /></div>Thatwon't happen. It's too complicated. What I can do is search for a<br /> specific string. Begin able to checkif A(int, int) is used in this<br /> function, but not function A(int, text) means we need to add something<br /> thatwill understand the PL/pgsql code. I won't work on that. You can if<br /> you want, but I won't.<br /><br /> The ideaI want to work on is to search specific string in a source<br /> code, that's all.<br /><div class="HOEnZb"><div class="h5"><br/><br /> --<br /> Guillaume<br /><a href="http://blog.guillaume.lelarge.info" target="_blank">http://blog.guillaume.lelarge.info</a><br/><a href="http://www.dalibo.com" target="_blank">http://www.dalibo.com</a><br/><br /></div></div></blockquote></div><br />
В списке pgadmin-support по дате отправления: