Re: [fpc-pascal] another pqconnection patch

2008-05-29 Thread Joao Morais
Joao Morais wrote: There are other problems, at least with timestamp field. Please wait another patch soon. The following patch fixes the storage of floating point, time and timestamp fields on a pgsql database. Patch is against trunk. Joao Morais Index: packages/fcl-db/src/sqldb/postgres/p

Re: [fpc-pascal] another pqconnection patch

2008-05-29 Thread Joao Morais
Joost van der Sluis wrote: Op woensdag 28-05-2008 om 18:33 uur [tijdzone -0300], schreef Joao Morais: the following patch fixes the storage of floating point numbers where the decimal point isn't a dot. Two questions: does postgres always request a dot as decimal point? Yes. Or is 'str' lo

Re: [fpc-pascal] another pqconnection patch

2008-05-29 Thread Jonas Maebe
On 29 May 2008, at 11:09, Joost van der Sluis wrote: Two questions: does postgres always request a dot as decimal point? And dos your code guarantee to use a dot as decimal point? Or is 'str' locale-dependent? str() is never locale-dependent. Jonas

Re: [fpc-pascal] another pqconnection patch

2008-05-29 Thread Joost van der Sluis
Op woensdag 28-05-2008 om 18:33 uur [tijdzone -0300], schreef Joao Morais: > the following patch fixes the storage of floating point numbers where > the decimal point isn't a dot. Two questions: does postgres always request a dot as decimal point? And dos your code guarantee to use a dot as decim

[fpc-pascal] another pqconnection patch

2008-05-28 Thread Joao Morais
Hello, the following patch fixes the storage of floating point numbers where the decimal point isn't a dot. Joao Morais Index: packages/fcl-db/src/sqldb/postgres/pqconnection.pp === --- packages/fcl-db/src/sqldb/postgres/pqconne