Re: [pgadmin-hackers] src compilation on Win32

2004-08-12 Thread Alexander Borkowski
Yuri B. Lukyanov wrote: Please, help me to build Win32 binaries from project sources. Why I can't open the poject/workspace by MS Visual C++ 6.0? I was able to open these files only after changing their line endings from Unix (line feed only) to Windows (carriage return + line feed) style. Maybe yo

Re: [pgadmin-hackers] src compilation on Win32

2004-08-12 Thread Alexander Borkowski
Dave Page wrote: >>Then the tarball needs fixing; at least the .dsp/.dsw files. > > Any ideas how? I'd suggest adding a call to unix2dos to make dist (which > is definitely Adam's territory), but that does seem to be in slackware > :-( Here is what I used to fix my source tarball (on the Linux comm

Re: [pgadmin-hackers] src compilation on Win32

2004-08-12 Thread Alexander Borkowski
[MSVC + line ending problems ] That's happening if you checkout with unix tools. If you use e.g. wincvs, everything will be fine. There's an option in the underlying cvsnt for this, check it out. Ah, thanks, I will do that. It's also a problem for the source tarball of course... ... which is what

[pgadmin-hackers] Compilation on Windows

2004-09-21 Thread Alexander Borkowski
Dear all, I am trying to build 1.2.0 beta1 on Windows XP with MSVC++ 6.0 and after a while am almost there (I think). Everything compiles fine, but linking fails with the following error pgAdmin3.obj : error LNK2001: unresolved external symbol _SSL_version_str Unicode_SSL_Release/pgAdmin3.exe :

Re: [pgadmin-hackers] Compilation on Windows

2004-09-23 Thread Alexander Borkowski
Dave Page wrote: [SSL_version_str symbol missing] I've run into that before - you need to use the static SSL libs, not the import libs for the dll. They do (should) contain that symbol. Ah, so one has to use ms/nt.mak instead of ms/ntdll.mak to build the static version of the libraries (which in my

[pgadmin-hackers] Foreign keys / MATCH FULL, PARTIAL, etc.

2004-10-11 Thread Alexander Borkowski
I don't know of how much help this is going to be, but the anwer to the question // MATCH FULL/PARTIAL missing; where is this stored?!? posed in pgForeignKey.cpp line 45 is: In pg_catalog.pg_trigger.tgargs. It is the third argument (zero based) to the ri-triggers, or more precisely the RI_M

Re: [pgadmin-hackers] Foreign keys / MATCH FULL, PARTIAL, etc.

2004-10-12 Thread Alexander Borkowski
Andreas Pflug wrote: // MATCH FULL/PARTIAL missing; where is this stored?!? AFAIR at the moment of implementing that part the 7.3 doc didn't fully document pg_constraint. The correct answer to this question now is pg_constraint.confmatchtype. Yep, that is a lot better and easier to access too

[pgadmin-hackers] Bug in function property dialog

2004-10-12 Thread Alexander Borkowski
I think I found a bug in the funcion property dialog of pgAdmin3 1.2.0 Beta 2 (Win XP). I have a PostgreSQL 7.4.3 backend and it does not allow "ALTER FUNCTION ... OWNER TO ...", i.e. it pops up an error dialog saying "ERROR: syntax error at or near "OWNER" at character ...". It also fails whe

Re: [pgadmin-hackers] Bug in function property dialog

2004-10-12 Thread Alexander Borkowski
Andreas Pflug wrote: This bug was located and fixed some days ago, try the latest snapshot. Duh! Seems I can't remember any more what I read on this list a couple of days ago :-( Sorry for that. Go on bughunting! I will. Cheers, Alex ---(end of broadcast)--

Re: [pgadmin-hackers] wx 2.5.3 success!

2004-10-12 Thread Alexander Borkowski
Excellent - you say wxGTK; have you tried under Windows? I just tried under Windows XP and it builds fine (you have to copy include/wx/setup_redirect.h to include/wx/setup.h and set wxDIALOG_UNIT_COMPATIBILITY to 0 in include/wx/msw/setup.h). Unfortunately, I don't have the time to give it any d

Re: [pgadmin-hackers] wx 2.5.3 success!

2004-10-13 Thread Alexander Borkowski
[pgAdmin III with wx 2.5.3 on Windows] I just tried under Windows XP and it builds fine (you have to copy include/wx/setup_redirect.h to include/wx/setup.h and set wxDIALOG_UNIT_COMPATIBILITY to 0 in include/wx/msw/setup.h). Oh, didn't it used to be setup0.h? setup.h worked for me and the wx do

[pgadmin-hackers] Bug in dlgCast

2004-10-05 Thread Alexander Borkowski
Dear all, I just encountered a bug in 1.2.0 Beta 2 (Win XP). When selecting the source or target type in the "New Cast" dialog, the application crashes. What IMHO happens is that the call to txtName->SetValue(wxEmptyString) in dlgCast::CheckChange() (src/ui/dlgCast.cpp line 121) generates a new

[pgadmin-hackers] Bug in dlgServer

2004-10-06 Thread Alexander Borkowski
Dear all, I just encountered a bug in 1.2.0 Beta 2 (Win XP). When adding a new server and selecting "require" in the SSL combobox for a server that does in fact not support SSL, the following happens after submitting the dialog: An error dialog informing about what just went wrong comes up and a

Re: [pgadmin-hackers] Bug in dlgCast

2004-10-06 Thread Alexander Borkowski
Andreas Pflug wrote: Thanks for reporting! Thanks for fixing! :-) Alex ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html

Re: [pgadmin-hackers] CVS Commit by dpage: Dynamically link libpq/OpenSSL

2004-10-06 Thread Alexander Borkowski
[EMAIL PROTECTED] wrote: Log Message: --- Dynamically link libpq/OpenSSL for sensible installation with Win32 PostgreSQL. Libs can be downloaded from http://developer.pgadmin.org/snapshots/postgresql/libs-win32-20040927.zip Can you remove the references to ssleay32.lib and libeay23.lib fro

Re: [pgadmin-hackers] CVS Commit by dpage: Dynamically link libpq/OpenSSL

2004-10-07 Thread Alexander Borkowski
Dave Page wrote: No, they need to be there - there the import libraries that contain the stubs for the functions in the dlls. Please correct me if I get this totally confused, but aren't the stubs for the SSL stuff already in libpq.dll (looking at postgresql-8.0.0beta3/src/interfaces/libpq/win32.

[pgadmin-hackers] Various bugs/issues

2004-11-01 Thread Alexander Borkowski
Dear all, I got around to to some more work with pgAdmin III today after a little break and upgraded to 1.2.0 post-beta3 (WinXP, PostgreSQL 7.4.3 backend). During my work I encountered several issues which I would like to report: 1. Changing the owner of a table, view, or domain, which is not i

Re: [pgadmin-hackers] Various bugs/issues

2004-11-03 Thread Alexander Borkowski
Andreas Pflug wrote: Type handling really needs a major rewrite ... There's already some stuff in pgDatatype, but the class was invented too late when I realized that typehandling is more complicated than it appeared initially. Every string/parameter formatting/encoding should be concentrated th

[pgadmin-hackers] Bug regarding SQL identifiers

2005-01-06 Thread Alexander Borkowski
Dear all, I tried to look at some tables created by another tool whose name starts with a number (e.g. 100_something) with pgAdmin III 1.2.0. Doing this raises a PostgreSQL syntax error. I traced the cause to the needsQuoting function in src/utils/misc.cpp. According to the PostgreSQL documenta