Unix Technical Forum

Re: Lost instrumentation functions

This is a discussion on Re: Lost instrumentation functions within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> > -----Original Message----- > From: Joost Kraaijeveld [mailto:J.Kraaijeveld@Askesis.nl] > Sent: 22 January 2006 10:00 > To: Dave Page > ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:19 PM
Dave Page
 
Posts: n/a
Default Re: Lost instrumentation functions



> -----Original Message-----
> From: Joost Kraaijeveld [mailto:J.Kraaijeveld@Askesis.nl]
> Sent: 22 January 2006 10:00
> To: Dave Page
> Cc: PgAdmin-support
> Subject: RE: [pgadmin-support] Lost instrumentation functions
>
> On Sun, 2006-01-22 at 09:34 +0000, Dave Page wrote:
>
> > Sorry- try without the brackets - that's a view that uses

> the function
> > to retrieve 3 columns.

> Mmmm. "select * from pg_logdir_ls;" returns:
> ERROR: relation "pg_logdir_ls" does not exist
>
> But the function exists (I can see all the functions from admin81.sql
> with pgadmin in the tree), so it is likely that it is not the correct
> syntax. As far as I know one must call a function with brackets e.g.
> "select * from now();".


Yes, but there should be a view with the same name - see the bottom of
the SQL script:

http://svn.pgadmin.org/cgi-bin/viewc...xtra/admin81/a
dmin81.sql.in?rev=4475&view=markup

That should call the function with the correct syntax and prove whether
or not it's working.

Regards, Dave

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 08:19 PM
Andreas Pflug
 
Posts: n/a
Default Re: Lost instrumentation functions

Dave Page wrote:
>
>
>
>>-----Original Message-----
>>From: Joost Kraaijeveld [mailto:J.Kraaijeveld@Askesis.nl]
>>Sent: 22 January 2006 10:00
>>To: Dave Page
>>Cc: PgAdmin-support
>>Subject: RE: [pgadmin-support] Lost instrumentation functions
>>
>>On Sun, 2006-01-22 at 09:34 +0000, Dave Page wrote:
>>
>>
>>>Sorry- try without the brackets - that's a view that uses

>>
>>the function
>>
>>>to retrieve 3 columns.

>>
>>Mmmm. "select * from pg_logdir_ls;" returns:
>>ERROR: relation "pg_logdir_ls" does not exist
>>
>>But the function exists (I can see all the functions from admin81.sql
>>with pgadmin in the tree), so it is likely that it is not the correct
>>syntax. As far as I know one must call a function with brackets e.g.
>>"select * from now();".

>
>
> Yes, but there should be a view with the same name - see the bottom of
> the SQL script:
>
> http://svn.pgadmin.org/cgi-bin/viewc...xtra/admin81/a
> dmin81.sql.in?rev=4475&view=markup
>
> That should call the function with the correct syntax and prove whether
> or not it's working.


That view is for pgadmin 1.2 compatibility only, not needed for 1.4.

SELECT pg_logdir_ls() should work.

Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:09 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com