Re: [pgadmin-hackers] [pgadmin-support] SSL connections and Query

2003-12-04 Thread Devrim GUNDUZ
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi,

(sorry for the ultra late response)

On Wed, 26 Nov 2003, Jean-Michel POURE wrote:

 Fantastic, we are getting close to explaining the prolem. To my knowledge, 
 there is no difference in the RPM spec. Devrim, do you have any idea?

Yep, I'm using the same spec file -- but using the newest wxwindows 
packages. Also, I'm using PostgreSQL 7.4 now.

The problems continue (using yesterday's snapshot):

 * I get a segfault while trying to add a new user
 * I get Trace/breakpoint trap error when I first click Help/PostgreSQL 
Help and then perform fast clicks on help page :)

Regards,
- -- 
Devrim GUNDUZ
[EMAIL PROTECTED]   [EMAIL PROTECTED] 
http://www.TDMSoft.com
http://www.gunduz.org

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/zz2Itl86P3SPfQ4RAsgDAKDAM47rQJqfWdUldW+/yJD6bcQkVwCgsEOR
oL/OjZQcWU2Zzl1qFJOxeAo=
=PceM
-END PGP SIGNATURE-


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


Re: [pgadmin-hackers] [pgadmin-support] SSL connections and Query

2003-12-04 Thread Andreas Pflug


Devrim,
AFAICS the problems you reported isn't related to SSL connections, so 
please use other dedicated threads for this.

Devrim GUNDUZ wrote:

Yep, I'm using the same spec file -- but using the newest wxwindows 
packages. Also, I'm using PostgreSQL 7.4 now.

The problems continue (using yesterday's snapshot):

* I get a segfault while trying to add a new user
 

Please provide some backtrace information; I still can't reproduce this.

* I get Trace/breakpoint trap error when I first click Help/PostgreSQL 
Help and then perform fast clicks on help page :)
 

Known, very unfortunate thing, and yet another non-SSL related bug.
On my machine, this isn't traceable, because my desktop freezes when I 
encounter the problem while running under debugger's control (already 
upgradest to latest gdb).

Regards,
Andreas


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
  http://www.postgresql.org/docs/faqs/FAQ.html


[pgadmin-hackers] valuntil of pg_user

2003-12-04 Thread Hiroshi Saito
Hi Dave.

Valuntil of pg_user emits ASSERT_MSG when try it in the debug mode.
And, Must partly treat qtString with it.

Please apply it.

regards,
Hiroshi Saito

valuntil_patch
Description: Binary data

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


Re: [pgadmin-hackers] Help/PostgreSQL crash

2003-12-04 Thread Andreas Pflug
[EMAIL PROTECTED] wrote:

Hi Andreas,

Message d'origine
 

Date: Thu, 04 Dec 2003 15:17:03 +0100
De: Andreas Pflug [EMAIL PROTECTED]
A: Devrim GUNDUZ [EMAIL PROTECTED]
Copie à: Jean-Michel POURE [EMAIL PROTECTED], [EMAIL PROTECTED],
Sujet: Re: [pgadmin-hackers] [pgadmin-support] SSL connections and Query


   

* I get Trace/breakpoint trap error when I first click Help/PostgreSQL 
Help and then perform fast clicks on help page :)

 

Known, very unfortunate thing, and yet another non-SSL related bug.
On my machine, this isn't traceable, because my desktop freezes when I 
encounter the problem while running under debugger's control (already 
upgradest to latest gdb).

   

Just a suggestion, I was able to generate a bt for this by launching gdb in a standalone text console (ctrl-alt-f1) with export DISPLAY to my Xserver and then came back to X with the shortcut you all know(ctrl-alt-f7 for display 0)... By doing this, the desktop freezes but gdb is still usable in the text console... may be you could try to trace this way although this is not a real confortable situation...
 

Good suggestion!

I was able to locate the problem. I couldn't fix it ultimately, but the 
attached patch, which should be added to our snapshot, is a workaround 
(posted to wx patches as 854137). For unkown reasons, while selecting an 
invalid color is returned, and setting that invalid color will result in 
a wxASSERT. Unfortunately, this happens while rendering, ultimately 
freezing the desktop while debugging.

Regards,
Raphaël aka *!donkey_INTERNAL*
 

Eeh Aaaah!

Regards,
Andrreas
Index: htmlcell.cpp
===
RCS file: /pack/cvsroots/wxwindows/wxWindows/src/html/htmlcell.cpp,v
retrieving revision 1.80
diff -c -r1.80 htmlcell.cpp
*** htmlcell.cpp2003/09/18 22:44:16 1.80
--- htmlcell.cpp2003/12/04 16:22:39
***
*** 366,372 
  dc.SetBackgroundMode(wxTRANSPARENT);
  dc.SetTextForeground(fg);
  dc.SetTextBackground(bg);
! dc.SetBackground(wxBrush(bg, wxSOLID));
  }
  }
  
--- 366,373 
  dc.SetBackgroundMode(wxTRANSPARENT);
  dc.SetTextForeground(fg);
  dc.SetTextBackground(bg);
!   if (bg.Ok())
!   dc.SetBackground(wxBrush(bg, wxSOLID));
  }
  }
  

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


Re: [pgadmin-hackers] valuntil of pg_user

2003-12-04 Thread Dave Page
Hi Hiroshi,

Unfortunately this patch does not compile under Windows:

Compiling...
pgSet.cpp
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\db\pgSet.cpp(205) : error C2668:
'wxDateTime::wxDateTime' : ambiguous call to overloaded function
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\db\pgSet.cpp(205) : error C2553: no legal
conversion of return value to return type 'class wxDateTime *'
misc.cpp
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\utils\misc.cpp(225) : error C2668:
'wxDateTime::wxDateTime' : ambiguous call to overloaded function
C:\Documents and Settings\dpage\My
Documents\CVS\pgadmin3\src\utils\misc.cpp(225) : error C2553: no legal
conversion of return value to return type 'class wxDateTime *'
Generating Code...
Error executing cl.exe.
Creating browse info file...

pgAdmin3.exe - 4 error(s), 0 warning(s)


Patch NOT applied.

Regards, Dave 

 -Original Message-
 From: Hiroshi Saito [mailto:[EMAIL PROTECTED] 
 Sent: 04 December 2003 15:35
 To: Dave Page
 Cc: [EMAIL PROTECTED]
 Subject: valuntil of pg_user
 
 Hi Dave.
 
 Valuntil of pg_user emits ASSERT_MSG when try it in the debug mode.
 And, Must partly treat qtString with it.
 
 Please apply it.
 
 regards,
 Hiroshi Saito
 

---(end of broadcast)---
TIP 3: 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