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: Andreas Pflug [mailto gadmin@pse-consulting.de] > Sent: 22 January 2006 11:56 > To: Dave Page ...


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

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



> -----Original Message-----
> From: Andreas Pflug [mailtogadmin@pse-consulting.de]
> Sent: 22 January 2006 11:56
> To: Dave Page
> Cc: Joost Kraaijeveld; PgAdmin-support
> Subject: Re: [pgadmin-support] Lost instrumentation functions
>
> Dave Page wrote:
> >
> >
> >
> >>-----Original Message-----
> >>From: Andreas Pflug [mailtogadmin@pse-consulting.de]
> >>Sent: 22 January 2006 11:41
> >>To: Dave Page
> >>Cc: Joost Kraaijeveld; PgAdmin-support
> >>Subject: Re: [pgadmin-support] Lost instrumentation functions
> >>
> >>That view is for pgadmin 1.2 compatibility only, not needed for 1.4.
> >>
> >>SELECT pg_logdir_ls() should work.

> >
> >
> > Yes, but the view should still be there as it's in the

> script. If not,
> > something fishy is afoot.

>
> It's commented out...


Blergh. :-)

/D

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

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

Hi Dave,

If I run this query

select * from pg_logdir_ls() as (filetime timestamp, filename text)

I get the following response:

ERROR: /var/lib/postgresql/8.1/main/pg_log is not browsable: Not a
directory

This suggest that the function is available (but not working ;-))



--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl





---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

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

Joost Kraaijeveld wrote:
> Hi Dave,
>
> If I run this query
>
> select * from pg_logdir_ls() as (filetime timestamp, filename text)
>
> I get the following response:
>
> ERROR: /var/lib/postgresql/8.1/main/pg_log is not browsable: Not a
> directory
>
> This suggest that the function is available (but not working ;-))


I bet /var/lib/postgresql/8.1/main/pg_log is not a directory... Did you
enable redirect_stderr? The function is working as expected in this
situation.

Please note that pgadmin expects its functions to be existent in the
_maintenance_ DB, for 8.1 usually postgres.

Regards,
Andreas

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

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

Hi Andreas,

On Sun, 2006-01-22 at 18:26 +0100, Andreas Pflug wrote:
> Joost Kraaijeveld wrote:


> I bet /var/lib/postgresql/8.1/main/pg_log is not a directory... Did you
> enable redirect_stderr? The function is working as expected in this
> situation.

Not, that is not my problem, hence the ;-). The problem is that PgAdmin
does not find the instrumentation functions while they are there (I get
the Guru hint).


--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl



---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

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 11:21 AM.


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