[pgadmin-hackers] Belarusian

2003-06-25 Thread Chih-Hsin Lee



Is the spelling of "Belarusian" correct? Is it 
Belorussian?


Re: [pgadmin-hackers] What is ACL

2003-06-25 Thread Hiroshi Saito
Hi Chin.

It is The  "Access Control List".

Regards,
Hiroshi-Saito

- Original Message - 
From: Chih-Hsin Lee 
To: [EMAIL PROTECTED] 
Sent: Thursday, June 26, 2003 12:48 PM
Subject: [pgadmin-hackers] What is ACL


I am doing the translation for pgAdmin3.pot, What is "ACL"?

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


[pgadmin-hackers] What is ACL

2003-06-25 Thread Chih-Hsin Lee



I am doing the translation for pgAdmin3.pot, What is 
"ACL"?


Re: [pgadmin-hackers] wxWindows Build

2003-06-25 Thread fmonkey
> I should point out (perhaps as I should have before) that the 2003-06-07
> CVS tree of wxWindows does not build on Mac OS X.  That should be reason
> enough to upgrade the CVS tree.
>
> ahp
>
> ---(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
>
>

Neither does the 2003-06-18 build, for that matter.  Try a different day. 
:-(

ahp

---(end of broadcast)---
TIP 6: Have you searched our list archives?

   http://archives.postgresql.org


[pgadmin-hackers] wxWindows Build

2003-06-25 Thread fmonkey
I should point out (perhaps as I should have before) that the 2003-06-07
CVS tree of wxWindows does not build on Mac OS X.  That should be reason
enough to upgrade the CVS tree.

ahp

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


Re: [pgadmin-hackers] stack trace

2003-06-25 Thread fmonkey
> We still have an open wxWindows bug with Unicode, and maybe Adam has
> another from QB.
> Maybe this issue is a reason to upgrade.
>

I'm pretty sure that the bugs with QB are our own.

Whichever way we choose to go, please let me know so I can settle on a
wxWindows tree and get it over with.  :-)

ahp

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


Re: [pgadmin-hackers] stack trace

2003-06-25 Thread Andreas Pflug
Dave Page wrote:

 

-Original Message-
From: Jean-Michel POURE [mailto:[EMAIL PROTECTED] 
Sent: 25 June 2003 19:49
To: Andreas Pflug; Reinhard Max
Cc: [EMAIL PROTECTED]
Subject: Re: [pgadmin-hackers] stack trace

Andreas, I thought the latest recommanded version was 
2003-06-07. All RPMs are based on it. Shall I upgrade them 
all? This can be done within 
hours if you require it.
   

I thought we had agreed to stick to 2003-06-07 unless a specific reason
for upgrading cropped up?
I don't want us to be chasing new wxWindows bugs this close to release
unless there's a damn good reason. I'm nervous enough using CVS code...
 

We still have an open wxWindows bug with Unicode, and maybe Adam has 
another from QB.
Maybe this issue is a reason to upgrade.

Regards,
Andreas


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


Re: [pgadmin-hackers] stack trace

2003-06-25 Thread Dave Page


> -Original Message-
> From: Jean-Michel POURE [mailto:[EMAIL PROTECTED] 
> Sent: 25 June 2003 19:49
> To: Andreas Pflug; Reinhard Max
> Cc: [EMAIL PROTECTED]
> Subject: Re: [pgadmin-hackers] stack trace
> 
> 
> Andreas, I thought the latest recommanded version was 
> 2003-06-07. All RPMs are based on it. Shall I upgrade them 
> all? This can be done within 
> hours if you require it.

I thought we had agreed to stick to 2003-06-07 unless a specific reason
for upgrading cropped up?

I don't want us to be chasing new wxWindows bugs this close to release
unless there's a damn good reason. I'm nervous enough using CVS code...

Regards, Dave.

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


Re: [pgadmin-hackers] Language issue

2003-06-25 Thread Dave Page


> -Original Message-
> From: Jean-Michel POURE [mailto:[EMAIL PROTECTED] 
> Sent: 25 June 2003 17:52
> To: [EMAIL PROTECTED]
> Subject: [pgadmin-hackers] Language issue
> 
> 
> Dear all,
> 
> Would it be possible to differenciate the English "language" 
> string into 
> "Server-side language" (French=langage server-side) and "Language" 
> (French=langue).
> 
> In French, "langue" and "langage" do not have the same meaning.
> 

Huh?

:-)

Regards, Dave.

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])


Re: [pgadmin-hackers] Server Status error

2003-06-25 Thread Andreas Pflug
Adam H. Pendleton wrote:

When choosing "Server Status" from the Tools menu, I get this error:

"Column not found in pgSet: query_start"

and then the application hangs.  And, indeed, there is no result 
column 'query_start' returned by:

SELECT * FROM pg_stat_activity ORDER BY procpid;

What's the deal?

Oops, seems to be a 7.4 extension. Will restrict this.
Regards,
Andreas


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


Re: [pgadmin-hackers] stack trace

2003-06-25 Thread Andreas Pflug
Jean-Michel POURE wrote:

Andreas, I thought the latest recommanded version was 2003-06-07.
All RPMs are based on it. Shall I upgrade them all? This can be done within 
hours if you require it.

 

Please try it. From time to time, I update my wx, and since there's been 
a change just in the region that crashes this might include a required fix.

Regards,
Andreas


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


Re: [pgadmin-hackers] stack trace

2003-06-25 Thread Jean-Michel POURE
On Wednesday 25 June 2003 19:23, Andreas Pflug wrote:
> I got a bit deeper into this and found that things happen while global
> wxWindows vars are initialized. From wxString::AllocBeforeWrite being in
> string.h I can see that your're using an older wxWindows version, which
> is it?

It is our wxGTK 2.5 cvs 20030607 version installed from RPM.
From http://www.pgadmin.org/snapshots/linux/suse82/wxGTK2

> The latest version that is usable is June 18 (just checked), later
> versions are broken for non-win32. So please use cvs update -D
> 2003-06-18 to obtain a wx version.

Andreas, I thought the latest recommanded version was 2003-06-07.
All RPMs are based on it. Shall I upgrade them all? This can be done within 
hours if you require it.

Cheers,
Jean-Michel


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


[pgadmin-hackers] Server Status error

2003-06-25 Thread Adam H. Pendleton
When choosing "Server Status" from the Tools menu, I get this error:

"Column not found in pgSet: query_start"

and then the application hangs.  And, indeed, there is no result column 
'query_start' returned by:

SELECT * FROM pg_stat_activity ORDER BY procpid;

What's the deal?

ahp

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


Re: [pgadmin-hackers] Language issue

2003-06-25 Thread Andreas Pflug
Jean-Michel POURE wrote:

Dear all,

Would it be possible to differenciate the English "language" string into 
"Server-side language" (French=langage server-side) and "Language" 
(French=langue).

In French, "langue" and "langage" do not have the same meaning.

 

Uh, I've been waiting for something like this. We should use another 
development language :-)

Server-side language is the wrong expression, and "pgsql programming 
language" is too long, so we better stick to "language" (langage).
For the user interface, I invented "user language" (langue). This 
expression is used only in limited places, so this is easier.

For the same reason, I renamed the View menu to Display.

I hope we will never need to invent fantasy words, which then get 
translated to en_US...

Regards,
Andreas


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


Re: [pgadmin-hackers] stack trace

2003-06-25 Thread Adam H. Pendleton
Andreas Pflug wrote:

The latest version that is usable is June 18 (just checked), later 
versions are broken for non-win32. So please use cvs update -D 
2003-06-18 to obtain a wx version. 
Or cvs co -D 2003-06-18 wxWindows if you need to obtain a fresh tree.  :-)

ahp



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


Re: [pgadmin-hackers] Localisation strings

2003-06-25 Thread Adam H. Pendleton
Andreas Pflug wrote:

I skipped recoding these because Keith had stated there was work going 
on. I'm a bit unhappy that we don't know about the state of QB (while 
that nasty bug seems to be under control. 
While I don't know what the current state of the QB is, I can say that I 
fixed the initial QB segfault only to find another one right away.  I am 
currently working on trying to track down why this is happening, but 
it's slow going.

ahp

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


Re: [pgadmin-hackers] stack trace

2003-06-25 Thread Andreas Pflug
Reinhard Max wrote:

Hi,

here comes the stack trace from the segfault I got when I tried to start
pgAdmin on SuSE Linux 8.2 for the first time:
#0  wxString::AllocBeforeWrite(unsigned) (this=0x874d78c, nLen=4) at 
include/wx/string.h:188
#1  0x0001 in ?? ()
#2  0x0845709f in wxString::AssignCopy(unsigned, wchar_t const*) (this=0x874d78c, 
nSrcLen=4, pszSrcData=0x874d78c)at src/common/string.cpp:548
#3  0x08457270 in wxString::operator=(wchar_t const*) (this=0x874d78c, psz=0x4) at 
include/wx/wxchar.h:669
#4  0x084dd48a in wxProtoInfo (this=0x4, name=0x0, serv=0x0, info=0x0) at 
src/common/protocol.cpp:44
#5  0x084e0a9c in __static_initialization_and_destruction_0 (__initialize_p=0, 
__priority=65535)at src/common/sckfile.cpp:32
#6  0x084e0b9a in _GLOBAL__I__Z27wxConstructorForwxFileProtov () at 
src/common/sckfile.cpp:33
#7  0x084ead25 in __do_global_ctors_aux ()
#8  0x0814f971 in _init ()
#9  0x084eac9c in __libc_csu_init () at elf-init.c:60
#10 0x40768838 in __libc_start_main () from /lib/libc.so.6
 

I got a bit deeper into this and found that things happen while global 
wxWindows vars are initialized. From wxString::AllocBeforeWrite being in 
string.h I can see that your're using an older wxWindows version, which 
is it?
The latest version that is usable is June 18 (just checked), later 
versions are broken for non-win32. So please use cvs update -D 
2003-06-18 to obtain a wx version.

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


[pgadmin-hackers] Language issue

2003-06-25 Thread Jean-Michel POURE
Dear all,

Would it be possible to differenciate the English "language" string into 
"Server-side language" (French=langage server-side) and "Language" 
(French=langue).

In French, "langue" and "langage" do not have the same meaning.

Cheers,
Jean-Michel


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


Re: [pgadmin-hackers] Localisation strings

2003-06-25 Thread Andreas Pflug


Dear all,

Here are some non-standard language entries:

1) src/ui/frmQueryBuilder.cpp:1044 src/ui/frmQueryBuilder.cpp:1046
			wxLogError(__("Double right-handed 
joins are not allowed.\n")
__("You must redraw your joins 
so that \"") + tmptable1 +
__("\"\ndoes not appear on the 
righthand side \n")
__("more than once. \n\n")
__("Try switching it to the 
lefthand side in one\n")
__("or more relationships."));
should use %s
   

Ahh, the QB. Please feel free to tweak these to something you are happy
with.
I skipped recoding these because Keith had stated there was work going 
on. I'm a bit unhappy that we don't know about the state of QB (while 
that nasty bug seems to be under control.

2) src/ui/dlgProperty.cpp:89 src/ui/dlgProperty.cpp:91
msgid ""
": Notebook not found.\n"
"Prepare to crash!"
msgstr ""
   

This should really never display... can only happen if xrc is really 
messed up

3) pgadmin3.pot file contains a deprecated string:
Count rows if estiated less than (typo)
   

I fixed that typo on Windows a few days back but forgot the pot file. Do
I need to manually edit it, or regenerate it on a unix box?
Strings come and go...
The stringextract script will append new strings, leaving old/now unused 
strings still untouched. From time to time, pgadmin3.pot can be deleted 
and freshly created, which would lead to poEdit telling about deprecated 
strings.

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


Re: [pgadmin-hackers] Localisation strings

2003-06-25 Thread Dave Page


> -Original Message-
> From: Jean-Michel POURE [mailto:[EMAIL PROTECTED] 
> Sent: 25 June 2003 16:54
> To: [EMAIL PROTECTED]
> Cc: Dave Page; Andreas Pflug
> Subject: Localisation strings
> 
> 
> Dear all,
> 
> Here are some non-standard language entries:
> 
> 1) src/ui/frmQueryBuilder.cpp:1044 src/ui/frmQueryBuilder.cpp:1046
>   wxLogError(__("Double right-handed 
> joins are not allowed.\n")
>   __("You must redraw your joins 
> so that \"") + tmptable1 +
>   __("\"\ndoes not appear on the 
> righthand side \n")
>   __("more than once. \n\n")
>   __("Try switching it to the 
> lefthand side in one\n")
>   __("or more relationships."));
> should use %s

Ahh, the QB. Please feel free to tweak these to something you are happy
with.

> 2) src/ui/dlgProperty.cpp:89 src/ui/dlgProperty.cpp:91
> msgid ""
> ": Notebook not found.\n"
> "Prepare to crash!"
> msgstr ""
> 
> What is a notebook?

A tabset. Actually I like this kind of error - it's nice to stick one
really humorous one in just to give ppl a chuckle. The trick is to put
it somewhere where it will get a laugh rather than get sworn at.

> 3) pgadmin3.pot file contains a deprecated string:
> Count rows if estiated less than (typo)

I fixed that typo on Windows a few days back but forgot the pot file. Do
I need to manually edit it, or regenerate it on a unix box?

Regards, Dave.

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [pgadmin-hackers] [pgadmin-support] PGA 3 Copy

2003-06-25 Thread Jean-Michel POURE
On Wednesday 25 June 2003 16:50, John Bercik wrote:
> I'm trying to copy the text on the bottom right that has the Constraint
> and Alter Table commands.  I am unable to paste it anywhere other than
> pgadmin3.  RH9 has KDE version 3.1
> Here's a screenshot:
> http://htnweb1.emr.musc.edu/test.jpg


Dear John,

I forward your screenshot to the hacker list. Do you have copy/paste problems 
on other objects? Please contact us on the list so that anyone can come up 
with a solution if the same problem arises again.

Cheers,
Jean-Michel


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


[pgadmin-hackers] Localisation strings

2003-06-25 Thread Jean-Michel POURE
Dear all,

Here are some non-standard language entries:

1) src/ui/frmQueryBuilder.cpp:1044 src/ui/frmQueryBuilder.cpp:1046
wxLogError(__("Double right-handed joins are not allowed.\n")
__("You must redraw your joins so that \"") + 
tmptable1 +
__("\"\ndoes not appear on the righthand side \n")
__("more than once. \n\n")
__("Try switching it to the lefthand side in one\n")
__("or more relationships."));
should use %s


2) src/ui/dlgProperty.cpp:89 src/ui/dlgProperty.cpp:91
msgid ""
": Notebook not found.\n"
"Prepare to crash!"
msgstr ""

What is a notebook?

3) pgadmin3.pot file contains a deprecated string:
Count rows if estiated less than (typo)

Cheers,
Jean-Michel


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


Re: [pgadmin-hackers] pgConn.cpp.patch

2003-06-25 Thread Dave Page
Title: Message



 

  
  -Original Message-From: Adam H. 
  Pendleton [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 
  15:51To: Dave PageCc: 
  [EMAIL PROTECTED]Subject: Re: [pgadmin-hackers] 
  pgConn.cpp.patchDave Page wrote:
  


  Doh!  Of course it 
  fails.  Well, at least this saves me from having to figure out what I 
  missed.  BTW, if PQsetClientEncoding fails, which it does, then why would 
  the error come up as a password error?   
   
I think it's 
because libpq is clever enough to keep the 'real' error rather than just 
say that the encoding couldn't be set. This makes sense if you think about it, 
because normally the client encoding will fail to get set if an invaid encoding 
is chosen - this can only be discovered when the connection is 
present.

   
   Does that mean that 
  PQsetClientEncoding doesn't change the Postgres errors like other PQ 
  functions? 
No. If 
it gets a real error, then you will see it. Try changing the 'UNICODE' to 
'SOMETHINGELSE' and logging in. Note that in this case you may still see 2 
sequential error messages - 1 as the master connection is established, then a 
second for whichever database auto-reopens (and of course, subsequent db 
opens). 
 
Regards, Dave.
 
 


Re: [pgadmin-hackers] pgConn.cpp.patch

2003-06-25 Thread Adam H. Pendleton




Dave Page wrote:

  Message
  
  
   Yes, this is because the PQsetClientEncoding
fails because the connection failed. I've changed the preceeding code
to:
   
      // Set client encoding to Unicode/Ascii
    if (PQstatus(conn) == CONNECTION_OK)
    {
   
  #if wxUSE_UNICODE
   
     wxLogInfo(wxT("Setting client_encoding
to 'UNICODE'"));
   
  ...
  ...
   
  which takes care of it.
   
  Regards, Dave.

Doh!  Of course it fails.  Well, at least this saves me from having to
figure out what I missed.  BTW, if PQsetClientEncoding fails, which it
does, then why would the error come up as a password error?  Does that
mean that PQsetClientEncoding doesn't change the Postgres errors like
other PQ functions?

ahp





Re: [pgadmin-hackers] pgConn.cpp.patch

2003-06-25 Thread Dave Page
Title: Message



 

  
  -Original Message-From: Adam H. 
  Pendleton [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 
  14:40To: Dave PageCc: 
  [EMAIL PROTECTED]Subject: Re: [pgadmin-hackers] 
  pgConn.cpp.patch
  Dave Page wrote: 
     The docs may say 
  that, but I can tell you that:if (PQsetClientEncoding(conn, 
  "SQL_ASCII"))   
  wxLogError(wxT("%s"), PQerrorMessage(conn));causes wxLogError to be 
  run, if there was an error in the connection.  For example, try 
  connecting to a postgres database with an incorrect password.  You will 
  get *two* password incorrect dialogs.  The first is displayed by the 
  above code.
Yes, 
this is because the PQsetClientEncoding fails because the connection 
failed. I've changed the preceeding code to:
 
    // Set client encoding to 
Unicode/Ascii    if (PQstatus(conn) == 
CONNECTION_OK)    {
 
#if 
wxUSE_UNICODE
 
   wxLogInfo(wxT("Setting 
client_encoding to 'UNICODE'"));
 
...
...
 
which 
takes care of it.
 
Regards, Dave.


Re: [pgadmin-hackers] [pgadmin-support] PGA 3 Copy

2003-06-25 Thread Jean-Michel POURE
On Wednesday 25 June 2003 14:47, Dave Page wrote:
> Can anyone else try this please? Jean-Michel - you have RedHat 9 don't
> you?

Under RedHat 9, I can copy view or function definition and paste it into Kate. 
What text can't you paste? What objects?

Cheers,
Jean-Michel


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


Re: [pgadmin-hackers] pgConn.cpp.patch

2003-06-25 Thread Adam H. Pendleton




Dave Page wrote:

  
  
  
-Original Message-
From: Adam H.Pendleton [mailto:[EMAIL PROTECTED]] 
Sent: 25 June 2003 03:02
To: [EMAIL PROTECTED]
Subject: [pgadmin-hackers] pgConn.cpp.patch


This patch fixes a bug in the error reporting of the new connection 
dialog when setting the database encoding.

  
  
Hi Adam,

I don't believe this patch is correct. PQsetClientEncoding returns 0 on
success and -1 on failure [1], therefore !PQsetClientEncoding is true
upon success.

  

The docs may say that, but I can tell you that:

if (PQsetClientEncoding(conn, "SQL_ASCII"))
   wxLogError(wxT("%s"), PQerrorMessage(conn));

causes wxLogError to be run, if there was an error in the connection. 
For example, try connecting to a postgres database with an incorrect
password.  You will get *two* password incorrect dialogs.  The first is
displayed by the above code.

ahp






Re: [pgadmin-hackers] [pgadmin-support] PGA 3 Copy

2003-06-25 Thread Dave Page


> -Original Message-
> From: John Bercik [mailto:[EMAIL PROTECTED] 
> Sent: 25 June 2003 12:23
> To: Dave Page
> Subject: RE: [pgadmin-support] PGA 3 Copy
> 
> 
> Dave,  I'm in pgadmin3 in Redhat9/KDE Linux.  When I copy 
> from the bottom right pane I am unable to paste into any 
> other app like kwrite or a terminal window or anything.  I 
> CAN paste back into pgadmin3 though.

Hi John,

Just tried here on Slackware Linux 9/KDE 3.1 and it pastes OK into
Kwrite and a terminal. What version of KDE comes with Redhat 9?

Can anyone else try this please? Jean-Michel - you have RedHat 9 don't
you?

Regards, Dave.

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


Re: [pgadmin-hackers] SuSE 8.2 segmentation-fault

2003-06-25 Thread Dave Page


> -Original Message-
> From: Jean-Michel POURE [mailto:[EMAIL PROTECTED] 
> Sent: 25 June 2003 12:40
> To: [EMAIL PROTECTED]
> Cc: Dave Page; Andreas Pflug; Adam H. Pendleton
> Subject: SuSE 8.2 segmentation-fault
> 
> 
> Dear all,
> 
> pgAdmin3 still has a segmentation-fault under SuSE 8.2 at 
> statup. If anyone is 
> interested, I can give you access to the SuSE host in 
> Germany. We do not have 
> X installed on this station. It is only for rebuilding.
> 
> Maybe we should consider installing a SuSE 8.2 distribution 
> on a seperate 
> desk. Dave, you said you were able to run several distros at 
> once. Do you 
> also have X under SuSE 8.2?

No, *when* I get the VMs playing nicely, they will be cli only even
here, though X is there so you could

export DISPLAY=mybox.mydomain.com:0

before running the binary on the VM.
 
> The packages can be dowloaded from 
> http://www.pgadmin.org/snapshots/linux/suse82.
> 
> Wait a few minutes before they are rsynced.

Hours maybe - it only does it once a day iirc.

Regards, Dave.

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


[pgadmin-hackers] SuSE 8.2 segmentation-fault

2003-06-25 Thread Jean-Michel POURE
Dear all,

pgAdmin3 still has a segmentation-fault under SuSE 8.2 at statup. If anyone is 
interested, I can give you access to the SuSE host in Germany. We do not have 
X installed on this station. It is only for rebuilding.

Maybe we should consider installing a SuSE 8.2 distribution on a seperate 
desk. Dave, you said you were able to run several distros at once. Do you 
also have X under SuSE 8.2?

The packages can be dowloaded from 
http://www.pgadmin.org/snapshots/linux/suse82.

Wait a few minutes before they are rsynced.

Cheers,
Jean-Michel


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


Re: [pgadmin-hackers] First version of Turkish Language file

2003-06-25 Thread Dave Page


> -Original Message-
> From: Devrim GUNDUZ [mailto:[EMAIL PROTECTED] 
> Sent: 25 June 2003 11:44
> To: Dave Page
> Cc: [EMAIL PROTECTED]
> Subject: Re: [pgadmin-hackers] First version of Turkish Language file
> 
> 
> 
> Hi,
> 
> On Wed, 25 Jun 2003, Dave Page wrote:
> 
> > I found the CVS, but nothing other than PostgreSQL files in there.
> 
> > Can you zip and email it please?
> 
> If you have used the web interface, yes, there are some problems with 
> that, since sf.net runs web interface from the backup cvs server.

I couldn't get them using CVS either :-(.

> Anyway, the CVS tree is ready and is attached to the mail.

Thanks.

Regards, Dave.

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [pgadmin-hackers] First version of Turkish Language file

2003-06-25 Thread Jean-Michel POURE
On Wednesday 25 June 2003 12:44, Devrim GUNDUZ wrote:
> Which distribution are you using Jean-Michel? I'm running RH 9 and 7.3
>  and if you do not have them I can help you building (s)rpms.

Thank you so much for your translation. Files commited.
Rebuilding now. Wait 5 minutes.

I am using RH9, Mandrake 9.1 and probably SuSE 8.2 with cron jobs for nighly 
builds. I don't think RH 73 is suited for rebulding because it is too old.

Cheers,
Jean-Michel


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


Re: [pgadmin-hackers] First version of Turkish Language file

2003-06-25 Thread Devrim GUNDUZ

Hi ,

On Wed, 25 Jun 2003, Jean-Michel POURE wrote:

> Sorry, it is just that I cannot find your files:
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pgsqlturkce

I've justreplied Dave's e-mail about this but it was not delivered to the 
list. I think there was a problem with attachment. Sf.net says at the 
bottom of tha page: "NOTE: ViewCVS is currently running against the backup 
CVS server; data shown may be up to 24 hours old." That's why you can't 
see  via web interface :(

> Could you send tared pgadmin.po and pgadmin.mo files by Email on the Hackers 
> list, with CC to me and Dave Page. This is the best place to post them.

Instead of attaching them; let me give you  an url to prevent bandwith 
waste :)

http://www.gunduz.org/seminer/pg/pgadmin3.po
http://www.gunduz.org/seminer/pg/pgadmin3.mo

Thanks.

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


---(end of broadcast)---
TIP 6: Have you searched our list archives?

   http://archives.postgresql.org


Re: [pgadmin-hackers] First version of Turkish Language file

2003-06-25 Thread Jean-Michel POURE
On Wednesday 25 June 2003 13:02, Jean-Michel POURE wrote:
Sorry, you should have read.
> Otherwise, tonight


---(end of broadcast)---
TIP 6: Have you searched our list archives?

   http://archives.postgresql.org


Re: [pgadmin-hackers] First version of Turkish Language file

2003-06-25 Thread Jean-Michel POURE
On Wednesday 25 June 2003 12:44, Devrim GUNDUZ wrote:
> Which distribution are you using Jean-Michel? I'm running RH 9 and 7.3
>  and if you do not have them I can help you building (s)rpms.

Sorry, it is just that I cannot find your files:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pgsqlturkce

Could you send tared pgadmin.po and pgadmin.mo files by Email on the Hackers 
list, with CC to me and Dave Page. This is the best place to post them.

I have to leave now and will be back at 17:00 tonight. If you can send the 
files within 30 minutes, I can rebuild them now. Otherwise, tomorrow.

Ceers,
Jean-Michel


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


[pgadmin-hackers] Packaging strip option

2003-06-25 Thread Jean-Michel POURE
Dear Raphaël,

Just to say that I added the "strip --strip-debug /usr/bin/pgAdmin3" option in 
packages. RH9 and Mandrake 9.1 rpmbuild do it by default, SuSE 8.2 doesn't. 

Now, all packages are stripped. You can always debug when you have the source 
installed. Right?

This makes a big difference in binary size (3Mb compared to 12Mb).
Cheers, Jean-Michel


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [pgadmin-hackers] First version of Turkish Language file

2003-06-25 Thread Devrim GUNDUZ

Hi,

On Wed, 25 Jun 2003, Jean-Michel POURE wrote:

> Thanks a lot. Wait a few minutes, I am rebuilding it right now...

Which distribution are you using Jean-Michel? I'm running RH 9 and 7.3
 and if you do not have them I can help you building (s)rpms.

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


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


Re: [pgadmin-hackers] First version of Turkish Language file

2003-06-25 Thread Jean-Michel POURE
On Wednesday 25 June 2003 10:05, Devrim GUNDUZ wrote:
> Could you please build an rpm  with Turkish support? I'd like to test some
> of the translations; I'm not sure whether I've done something wrong in
> some scripts.

Thanks a lot. Wait a few minutes, I am rebuilding it right now...
Cheers, Jean-Michel


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


Re: [pgadmin-hackers] First version of Turkish Language file

2003-06-25 Thread Dave Page


> -Original Message-
> From: Devrim GUNDUZ [mailto:[EMAIL PROTECTED] 
> Sent: 25 June 2003 09:06
> To: [EMAIL PROTECTED]
> Subject: [pgadmin-hackers] First version of Turkish Language file
> 
> 
> 
> Hi all,
> 
> First version of Turkish Language file is available. It's in CVS of 
> Turkish PostgreSQL Project cvs , under sourceforge. Project name is 
> pgsqlturkce 

Hi Devrim,

I found the CVS, but nothing other than PostgreSQL files in there.

Can you zip and email it please?

> Could you please build an rpm  with Turkish support? I'd like 
> to test some 
> of the translations; I'm not sure whether I've done something 
> wrong in 
> some scripts.

As soon as it's in CVS we'll add it to the various builds. I beleive you
should be able to test it yourself though, by adding the appropriate
ui/tr_TR/pgadmin3.mo file under an existing installtion of pgAdmin. The
just select the language under File -> Options

Regards, Dave.

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])


[pgadmin-hackers] First version of Turkish Language file

2003-06-25 Thread Devrim GUNDUZ

Hi all,

First version of Turkish Language file is available. It's in CVS of 
Turkish PostgreSQL Project cvs , under sourceforge. Project name is 
pgsqlturkce 

cvs  -d:pserver:[EMAIL PROTECTED]:/cvsroot/pgsqlturkce 
login

(You do not need to supply a password)

cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/pgsqlturkce 
co PgAdmin3Doc

file name is: pgadmin3.pot

Could you please build an rpm  with Turkish support? I'd like to test some 
of the translations; I'm not sure whether I've done something wrong in 
some scripts.

Best regards,
-- 
Devrim GUNDUZ
[EMAIL PROTECTED]   [EMAIL PROTECTED] 
http://www.tdmsoft.com
http://www.gunduz.org



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


Re: [pgadmin-hackers] frmQueryBuilder.patch

2003-06-25 Thread Dave Page
Thanks, patch applied.

> -Original Message-
> From: Adam H.Pendleton [mailto:[EMAIL PROTECTED] 
> Sent: 25 June 2003 00:04
> To: [EMAIL PROTECTED]
> Subject: [pgadmin-hackers] frmQueryBuilder.patch
> 
> 
> Attached is a patch that fixes the first segfault of the QueryBuilder 
> on linux.  I don't know if this is the "best" solution 
> (frame->GetClientWindow() may *always* be null), but it works 
> for now.  
> I am working on the second segfault this evening.
> 
> ahp
> 

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


Re: [pgadmin-hackers] pgConn.cpp.patch

2003-06-25 Thread Dave Page


> -Original Message-
> From: Adam H.Pendleton [mailto:[EMAIL PROTECTED] 
> Sent: 25 June 2003 03:02
> To: [EMAIL PROTECTED]
> Subject: [pgadmin-hackers] pgConn.cpp.patch
> 
> 
> This patch fixes a bug in the error reporting of the new connection 
> dialog when setting the database encoding.

Hi Adam,

I don't believe this patch is correct. PQsetClientEncoding returns 0 on
success and -1 on failure [1], therefore !PQsetClientEncoding is true
upon success.

-   if (PQsetClientEncoding(conn, "UNICODE"))
+   if (!PQsetClientEncoding(conn, "UNICODE"))
wxLogError(wxT("%s"), wxString(PQerrorMessage(conn),
wxConvUTF8).c_str());

Patch NOT applied.

Regards, Dave.

[1]
http://www.postgresql.org/docs/view.php?version=7.3&idoc=0&file=multibyt
e.html

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [pgadmin-hackers] Request for translation of pgAdmin3 into Traditional Chinese

2003-06-25 Thread Jean-Michel POURE
On Wednesday 25 June 2003 05:38, you wrote:
> I've read the documentations you mentioned in your last e-mails and got
> poEdit and pgAdmin3.pot. However, I am not familiar with the rules for the
> strinngs in pgAdmin3.pot. I am not sure what should I do with the back
> slashes or the double quote mark... etc, could you send me some example
> files other translators made to me? I think the simplified Chinese version
> by Weiping He would be most useful for me. Then I will make a try again.

Dear Chih-Hsin,

Thank you very much for trying to translate pgAdmin3 into traditional Chinese. 
I am adding you to the list of translators to make sure that two persons do 
not work on the same translation at the same time.

Also, maybe you should register [EMAIL PROTECTED] mailing list.

This can be done sending an email to [EMAIL PROTECTED] 
with the word "subscribe" in the body of the message. I CC my answer to the 
list if you don't mind.

[EMAIL PROTECTED] allows translators to share knowledge and 
answers. Typicaly, your question is interesting because poedit is able to 
hide double quotes. In menu Display, unset Show Quotes (sorry, I use the 
French localised version, the menu may be a little bit different in English).

If you have any problems with quotes, do not hesitate to get back to us on the 
list and CC me (because the list is sometimes slow to deliver messages).

We thank you again for your kind help.
Cheers,
Jean-Michel


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html