Re: [pgadmin-hackers] small patch request(pgIndex.cpp)

2006-09-18 Thread Hiroshi Saito

Hi Dave.

I followed the intellisense of MS-VC simply. However, it may have 
desirable long at the reason columnCount is long.


--correction:-)
NumToStr((long)(i-1)) 
--

Thanks!

Regards,
Hiroshi Saito


Hi Dave.

:\HOME\pgadmin3-1.6.0-beta1\src\schema\pgIndex.cpp(117) : 
error C2668: 'NumToStr' xx(snip)japanesexxx


Hi Hiroshi,

I don't understand why you think we need this?

- wxT("LEFT OUTER JOIN pg_opclass o ON (o.oid = i.indclass[") +
NumToStr(i-1) + wxT("])\n") +
+ wxT("LEFT OUTER JOIN pg_opclass o ON (o.oid = i.indclass[") +
NumToStr((wxLongLong)(i-1)) + wxT("])\n") +

'i' is a long, and we have 


wxString NumToStr(long value)
{
   wxString result;
   result.Printf(wxT("%ld"), value);
   return result;
}

In base.cpp.

?

Regards, Dave



---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [pgadmin-hackers] Crash under Linux with compiled pgadmin 1.6

2006-09-18 Thread Guillaume Lelarge
Dave Page a écrit :
> [...]
> Ah, right - got it. Patch committed.
> 
> Thanks for the report.
> 

OK, I've just tried it and it works great, thanks :)

Can you warn us when you'll be able to release beta 2 ? I don't want to
annoy you with many .po updates. Stéphane (sas), Christophe (kryskool)
and I are still checking the french translation .po file.

Regards.


-- 
Guillaume.


---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
   subscribe-nomail command to [EMAIL PROTECTED] so that your
   message can get through to the mailing list cleanly


Re: [pgadmin-hackers] Crash under Linux with compiled pgadmin 1.6 Beta 1

2006-09-18 Thread Dave Page
 

> -Original Message-
> From: Guillaume Lelarge [mailto:[EMAIL PROTECTED] 
> Sent: 18 September 2006 07:22
> To: Dave Page
> Cc: pgadmin-hackers@postgresql.org
> Subject: Re: [pgadmin-hackers] Crash under Linux with 
> compiled pgadmin 1.6 Beta 1
> 
> Dave Page a écrit :
> > I can't reproduce it here. Anything odd about the database itself?
> > Permissions, config, that sort of thing?
> > 
> 
> Only amarok user can log on this database (and he can only log to this
> one). pg_hba.conf is configured like that :
> hostamarok  amarok 127.0.0.1/32   password
> I tried with trust mode but it crashed too.
> 
> Oh and Admin81 package is not installed (pgAdmin complained 
> each time I
> log into this database).
> 
> I will test this database with the windows release, with and 
> without the
> admin81 package.

Ah, right - got it. Patch committed.

Thanks for the report.

Regards, Dave.

---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
   subscribe-nomail command to [EMAIL PROTECTED] so that your
   message can get through to the mailing list cleanly


[pgadmin-hackers] SVN Commit by dpage: r5375 - in trunk/pgadmin3/src: dlg include

2006-09-18 Thread svn
Author: dpage

Date: 2006-09-18 09:53:11 +0100 (Mon, 18 Sep 2006)

New Revision: 5375

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=5375&view=rev

Log:
Fix a crash when a user without privileges views the properties of a database.


Modified:
   trunk/pgadmin3/src/dlg/dlgProperty.cpp
   trunk/pgadmin3/src/include/dlgProperty.h

---(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