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

* Feature request
@ 2007-12-19 17:20 luiz <luiz@planit.com.br>
  2007-12-19 18:06 ` Re: Feature request Luiz K. Matsumura <luiz@planit.com.br>
  0 siblings, 1 reply; 2+ messages in thread

From: luiz @ 2007-12-19 17:20 UTC (permalink / raw)
  To: pgsql-odbc

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.



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

* Re: Feature request
  2007-12-19 17:20 Feature request luiz <luiz@planit.com.br>
@ 2007-12-19 18:06 ` Luiz K. Matsumura <luiz@planit.com.br>
  0 siblings, 0 replies; 2+ messages in thread

From: Luiz K. Matsumura @ 2007-12-19 18:06 UTC (permalink / raw)
  To: pgsql-odbc

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.




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


end of thread, other threads:[~2007-12-19 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-12-19 17:20 Feature request luiz <luiz@planit.com.br>
2007-12-19 18:06 ` Luiz K. Matsumura <luiz@planit.com.br>

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