Re: Lost instrumentation functions - Mailing list pgadmin-support

From Andreas Pflug
Subject Re: Lost instrumentation functions
Date
Msg-id 43D36F4B.2070500@pse-consulting.de
Whole thread Raw
In response to Re: Lost instrumentation functions  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgadmin-support
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/viewcvs.cgi/trunk/pgadmin3/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


pgadmin-support by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Lost instrumentation functions
Next
From: "Dave Page"
Date:
Subject: Re: Lost instrumentation functions