pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Luiz K. Matsumura <luiz@planit.com.br>
To: pgsql-odbc@postgresql.org
Subject: Re: Feature request
Date: Wed, 19 Dec 2007 16:06:43 -0200
Message-ID: <47695DB3.6070406@planit.com.br> (raw)
In-Reply-To: <20071219172020.M55605@planit.com.br>
References: <20071219172020.M55605@planit.com.br>

Ugh,
Replying my own question.
There are a setting to enable this feature in VFP.
Well, for the VFP developers the command is
cursorsetprop( "MapVarChar" , .T. , 0 )
That will enable to retrieve varchar as varchar field in the resultsets 
of SqlExec() command.

Sorry by the inconvenience.

luiz wrote:
> Hi,
>
> I´m access postgresql with Visual FoxPro 9.0 trough ODBC driver.
> Vfp 9.0 have varchar data type but when retrieve data from postgresql,
> actualy varchar(n) fields are returned as character(n). 
> Can this fields be returned as varchar(n) ?
> ODBC can provide this feature, or this is a VFP behaviour that convert this
> fields ?
>
> Thanks in advance.
>
> Luiz
>
> --
> Plan IT Tecnologia Informatica Ltda.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
>
>   

-- 
Luiz K. Matsumura
Plan IT Tecnologia Informática Ltda.




view thread (2+ messages)

Message-ID: <47695DB3.6070406@planit.com.br>
Permalink:  ../47695DB3.6070406@planit.com.br/
Also on:    postgresql.org/message-id/47695DB3.6070406@planit.com.br

 · 

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: luiz@planit.com.br
  Subject: Re: Feature request
  In-Reply-To: <47695DB3.6070406@planit.com.br>
  References: <20071219172020.M55605@planit.com.br> <47695DB3.6070406@planit.com.br>

* 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