#1528 for 7.4

1.130
closed
5
2004-03-10
2004-03-08
Anonymous
No

dont show tables, because error relname column is not
exists

here is the patch:
diff -c postgresql-lib.pl.orig postgresql-lib.pl
*** postgresql-lib.pl.orig Sat Mar 6 04:21:21 2004
--- postgresql-lib.pl Mon Mar 8 18:40:06 2004
***************
*** 116,122 ****
# Returns a list of tables in some database
sub list_tables
{
! local $t = &execute_sql($_[0], 'select tablename from
pg_tables where tablename not like \'pg_%\' and relname
not like \'sql_%\' order by tablename');
return map { $_->[0] } @{$t->{'data'}};
}

--- 116,122 ----
# Returns a list of tables in some database
sub list_tables
{
! local $t = &execute_sql($_[0], 'select tablename from
pg_tables where tablename not like \'pg_%\' and
tablename not like \'sql_%\' order by tablename');
return map { $_->[0] } @{$t->{'data'}};
}

Discussion

  • Jamie Cameron

    Jamie Cameron - 2004-03-10
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2004-03-10

    Logged In: YES
    user_id=129364

    Thanks! This will go into the next release of Webmin ..

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks