Re: [GENERAL] can't build libpq with beta 2

2004-09-02 Thread Tony Reina
You've probably done this, but I should ask anyway. Did you run the vcvars.bat to set the environment variables for MS VC? I know I've run into this is previous versions, but IIRC it was operator error. -Tony ---(end of broadcast)--- TIP 7: don't

[GENERAL] Can connection pointer be obtained from PGresult?

2004-07-12 Thread Tony Reina
I inherited some C code that works as a series of libraries using libpq. One of the libraries has an input to it of a PGresult pointer, but not of a PGconnect pointer. Within the library, the code tries to determine the host name of the connection by doing the following trick: strcpy (host,PQhost

Re: [GENERAL] Postgress latest Windows Version

2004-07-12 Thread Tony Reina
[EMAIL PROTECTED] (Praveen) wrote in message news:<[EMAIL PROTECTED]>... > Can anybody tell from where i can download the latest Postgress Windows version? > http://www.hagander.net/pgsql/win32snap/ ---(end of broadcast)--- TIP 3: if posting/readi

Re: [GENERAL] [HACKERS] not on .hackers

2001-09-25 Thread Tony Reina
"Colin 't Hart" <[EMAIL PROTECTED]> wrote in message news:<9oo6en$qr8$[EMAIL PROTECTED]>... > August Zajonc: > > > I tend to follow the mailing list through news.postgresql.org, and it > seems > > like all the -hackers messages are ending up in the .general group rather > > than .hackers. > > I

[GENERAL] Re: is this possible? it should be!

2001-08-20 Thread Tony Reina
> select a,b,c from a where d=2 order by e limit 10; > select count(*) from a where d=2; > > The point is that I want to know the total number > of matches and I also want to use "limit". And > I don't want to do two queries. > Perhaps GROUP BY will get you where you want to go: select count(*

[GENERAL] Re: Coursor keys don't work in "psql"

2001-08-01 Thread Tony Reina
Stuart Grimshaw <[EMAIL PROTECTED]> wrote in message news:<81x97.56$O34.7220@wards>... > Can anyone explain why my cursor keys don't work in psql? > > When I press one I get Up = ^[[A down = ^[[B etc. > > The last company I used to work for had the cursor keys working OK to > scroll back throu