pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Error Report on ODBC Connect Dialog
2+ messages / 2 participants
[nested] [flat]

* Error Report on ODBC Connect Dialog
@ 2005-07-11 10:16  Marko Ristola <Marko.Ristola@kolumbus.fi>
  0 siblings, 0 replies; 2+ messages in thread

From: Marko Ristola @ 2005-07-11 10:16 UTC (permalink / raw)
  To: pgsql-odbc


CVS branch: HEAD

dlg_specific.c:

function makeConnectString().

There is a big sprintf() with about 63 arguments,
on line 63.

gcc -Wall responded:
dlg_specific.c: In function `makeConnectString':
dlg_specific.c:126: warning: too many arguments for format

The warning goes away, if I add the following
into the format string:
";%s=%d"

So the following definition is not delivered on connect:
"LowerCaseIdentifier=%d",ConnInfo.lower_case_identifier


Marko Ristola





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Error Report on ODBC Connect Dialog
@ 2005-07-13 19:51  Dave Page <dpage@vale-housing.co.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: Dave Page @ 2005-07-13 19:51 UTC (permalink / raw)
  To: Marko Ristola <Marko.Ristola@kolumbus.fi>; pgsql-odbc

Thanks, patch applied.

Regards, Dave. 

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org 
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Marko Ristola
> Sent: 11 July 2005 11:17
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] Error Report on ODBC Connect Dialog
> 
> 
> CVS branch: HEAD
> 
> dlg_specific.c:
> 
> function makeConnectString().
> 
> There is a big sprintf() with about 63 arguments,
> on line 63.
> 
> gcc -Wall responded:
> dlg_specific.c: In function `makeConnectString':
> dlg_specific.c:126: warning: too many arguments for format
> 
> The warning goes away, if I add the following
> into the format string:
> ";%s=%d"
> 
> So the following definition is not delivered on connect:
> "LowerCaseIdentifier=%d",ConnInfo.lower_case_identifier
> 
> 
> Marko Ristola
> 
> 
> 
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
> 



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-07-13 19:51 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-07-11 10:16 Error Report on ODBC Connect Dialog Marko Ristola <Marko.Ristola@kolumbus.fi>
2005-07-13 19:51 Re: Error Report on ODBC Connect Dialog Dave Page <dpage@vale-housing.co.uk>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox