pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: SSY <ssy@chisto.ru>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: CX parameter of the connection string
Date: Tue, 23 Jul 2002 17:51:27 +0900
Message-ID: <3D3D190F.10B25858@tpf.co.jp> (raw)
References: <ahh2jj$e09$1@news.hub.org>
	<3D3CA45E.15873F4B@tpf.co.jp>
	<ahj1ir$28lh$1@news.hub.org>

SSY wrote:
> 
> Thank you very much, but how this substitution can be realized?
> What order of this options? How can this options be encrypted to the CX
> parameter?

For example, I can see CX=188303a8 in your posting.
The first 2 bytes are contant(18) which represents the
count of effective bits of the subsequent flag.

The bits of the flag represents the following.
<The least siginificant bit> 
	LF <-> CR/LF conversion
	Updatable Cursors
	Disallow Premature
	Recognize Unique Index
	PROTOCOL 6.3
	PROTOCOL 7.X,6.4
	Unknown Sizes(Don't know)
	Unknown Sizes(Maximum)
	Disable Generic Optimizer
	KSQO
	CommLog
	MyLog
	Parse Statements
	Cancel as FreeStmt
	Use Declare/Fetch
	Read Only
	Text As LongVarChar
	Unknowns as LongVarChar
	Bools as Char
	Row Versioning
	Show System Tables 
	Oid Options(Show Column)
	Oid Options(Fake Index)
	True is -1
<The most siginificant bit>

For example,
  8303a8 : 0001 0101 1100 0000 1100 0001

represents
	UNIQUE_INDEX
	6.4/7.x, Unknowns As Max
	Disable Generic Optiomizer, KSQO
	Text As LongVarChar, Unknown As LongVarChar
	True is -1

regards,
Hiroshi Inoue
	http://w2422.nsk.ne.jp/~inoue/
> 
> > You can substitute the CX parameter for the following options.
> >
> > Disable Genereic Optiomizer
> > CommLog
> > KSQO
> > Parse Statements
> > Recognize Unique Index
> > Cancel As FreeStmt
> > Usen Declare/Fetch
> > MyLog
> > Unknown Sizes
> > Text as LongVarChar
> > Unknowns as LongVarChar
> > Bools as Char
> >
> > Read Only
> > Row Versioning
> > Show System Tables
> > Disallow Premature
> > LF <-> CR/LF conversion
> > True is -1
> > Updatable Cursors
> > Protocol
> > Oid options(Show column, Fake Index)
> >
> > regards,
> > Hiroshi Inoue
> > http://w2422.nsk.ne.jp/~inoue/



Message-ID: <3D3D190F.10B25858@tpf.co.jp>
Permalink:  ../3D3D190F.10B25858@tpf.co.jp/
Also on:    postgresql.org/message-id/3D3D190F.10B25858@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: Inoue@tpf.co.jp, ssy@chisto.ru
  Subject: Re: CX parameter of the connection string
  In-Reply-To: <3D3D190F.10B25858@tpf.co.jp>
  References: <ahh2jj$e09$1@news.hub.org> <3D3CA45E.15873F4B@tpf.co.jp> <ahj1ir$28lh$1@news.hub.org> <3D3D190F.10B25858@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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