RE: Building psql.exe, libpq.dll & libpq.lib (7.1Bet a3)
От | Dave Page |
---|---|
Тема | RE: Building psql.exe, libpq.dll & libpq.lib (7.1Bet a3) |
Дата | |
Msg-id | 8568FC767B4AD311AC33006097BCD3D61A28E4@woody.vale-housing.co.uk обсуждение исходный текст |
Список | pgsql-interfaces |
> -----Original Message----- > From: Magnus Hagander [mailto:mha@sollentuna.net] > Sent: 22 January 2001 12:33 > To: 'Dave Page'; 'pgsql-interfaces@postgresql.org' > Subject: RE: [INTERFACES] Building psql.exe, libpq.dll & libpq.lib > (7.1Bet a3) > > > > > Please try it with the patch that I just posted to the > > > hackers list. Note > > > that the problem with psql.exe is not fixed yet, though. > > > > > > > Thanks, I'll try it. The problem you mention with psql - is > > that where it > > crashes when it redisplays the prompt after a query or <cr>? > > Yup, that's the one. Andreas Zeugswetter had an idea to fix > that one as well > by adding "/MD" to the linker flags. Haven't tried it yet, though. > > //Magnus > Both problems solved! I did have to tweek a couple of things though: fnctl.h seems to be called fcntl.h on my Visual Studio installation (I assume they're the same file - it didn't complain after I copied one to the other!). The VC compiler didn't like the use of PG_VERSION in lines 607 & 629 in src/bin/psql/startup.c - a quick hardcode of the version number cured this. And, yes I know both of those fixes are a million miles from fixing it properly but I'm only toying with an idea here! BTW: I'm working with beta3 not the snapshot that I assume you are using. Thanks, Dave.
В списке pgsql-interfaces по дате отправления: