Re: crashed odbc in CVS - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: crashed odbc in CVS
Date
Msg-id 200006081641.MAA11552@candle.pha.pa.us
Whole thread Raw
In response to crashed odbc in CVS  (Karel Zak <zakkr@zf.jcu.cz>)
Responses Re: crashed odbc in CVS  (Karel Zak <zakkr@zf.jcu.cz>)
List pgsql-hackers
Oops.  I thought that code included postgres.h.  I have added a define
to psqlodbc.h.  I added:
#ifdef WIN32#define PG_BINARY    O_BINARY#define    PG_BINARY_R    "rb"#define    PG_BINARY_W    "wb"#else#define
PG_BINARY   0#define    PG_BINARY_R    "r"#define    PG_BINARY_W    "w"#endif
 

Can you give it a try?


--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Ed Loehr
Date:
Subject: interactive oddity for psql -c "cmd; cmd;"
Next
From: Bruce Momjian
Date:
Subject: Re: interactive oddity for psql -c "cmd; cmd;"