pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql ODBC sources
2+ messages / 2 participants
[nested] [flat]

* pgsql ODBC sources
@ 1998-05-28 00:40  Thomas G. Lockhart <lockhart@alumni.caltech.edu>
  0 siblings, 1 reply; 2+ messages in thread

From: Thomas G. Lockhart @ 1998-05-28 00:40 UTC (permalink / raw)
  To: pgsql-interfaces

I was poking through the backend source code working on the "name" data
type and stumbled on the (apparent) fact that NAMEDATALEN is defined to
be 32 bytes in the backend and only 16 bytes (the old backend value) in
interfaces/odbc/connection.h.

Also, some lines in the odbc sources seem to have a trailing ^M. Should
we add more, or take them out? :)

                     - Tom



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

* Re: [INTERFACES] pgsql ODBC sources
@ 1998-05-28 01:08  Byron Nikolaidis <byronn@insightdist.com>
  parent: Thomas G. Lockhart <lockhart@alumni.caltech.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Byron Nikolaidis @ 1998-05-28 01:08 UTC (permalink / raw)
  To: Thomas G. Lockhart <lockhart@alumni.caltech.edu>; +Cc: pgsql-interfaces



Thomas G. Lockhart wrote:

> I was poking through the backend source code working on the "name" data
> type and stumbled on the (apparent) fact that NAMEDATALEN is defined to
> be 32 bytes in the backend and only 16 bytes (the old backend value) in
> interfaces/odbc/connection.h.
>

The define NAMEDATALEN is only used when using the 6.2 protocol.  This is a
per datasource option.  It is not used when using the 6.3 protocol.
SM_USER, which is 32 bytes, is used for the 6.3 protocol.

> Also, some lines in the odbc sources seem to have a trailing ^M. Should
> we add more, or take them out? :)
>
>                      - Tom

Yeah, I hate those things.  When I transfer the odbc source files to our
unix box, I use ftp in ascii mode, which filters that crap out.  It works
either way on the Microsoft side so I'd say take em out.

By the way, just to clear things up, as long as people are on the subject
lately, I hate Microsoft just as much as the next guy!  I'm a unix systems
programmer first.  I dont really consider myself a windows programmer, even
though I work on the odbc driver.  We just had to have the driver work well
for our customers and it forced me to work with the windows programming
model.

Sorry about the divergent theme here.  I know you weren't asking about
Microsoft, but I wanted to get that out!

Byron




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


end of thread, other threads:[~1998-05-28 01:08 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-05-28 00:40 pgsql ODBC sources Thomas G. Lockhart <lockhart@alumni.caltech.edu>
1998-05-28 01:08 ` Byron Nikolaidis <byronn@insightdist.com>

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