Re: [fpc-pascal] Problems with Postgresql Character Encoding

2012-09-26 Thread Andrew Brunner
This did the trick! I added a comment on reporting too. I say this one is good to go. On 09/26/2012 07:41 AM, LacaK wrote: May be that better would be add support for PQsetClientEncoding into TPQConnection ... I can look at it if you want. Patch is here http://bugs.freepascal.org/view.ph

Re: [fpc-pascal] Problems with Postgresql Character Encoding

2012-09-26 Thread Andrew Brunner
On 09/26/2012 04:30 AM, LacaK wrote: Do you have tried SQL: SET CLIENT_ENCODING TO 'LATIN1' ? May be that better would be add support for PQsetClientEncoding into TPQConnection ... I can look at it if you want. -Laco. Hi Laco, Thanks for the help. Yes I did on connection I tried Connectio

Re: [fpc-pascal] Problems with Postgresql Character Encoding

2012-09-26 Thread LacaK
May be that better would be add support for PQsetClientEncoding into TPQConnection ... I can look at it if you want. Patch is here http://bugs.freepascal.org/view.php?id=22985 (I did only basic testing) -Laco. ___ fpc-pascal maillist - fpc-pas

Re: [fpc-pascal] Problems with Postgresql Character Encoding

2012-09-26 Thread LacaK
Mark Morgan Lloyd wrote / napĂ­sal(a): Andrew Brunner wrote: My cloud file/folder sync client desktop app builds and maintains a manifest of all files and folders from a specified starting point. I use this manifest to synchronize disk entries across devices. It uses HTTP requests and XML to

Re: [fpc-pascal] Problems with Postgresql Character Encoding

2012-09-26 Thread Mark Morgan Lloyd
Andrew Brunner wrote: My cloud file/folder sync client desktop app builds and maintains a manifest of all files and folders from a specified starting point. I use this manifest to synchronize disk entries across devices. It uses HTTP requests and XML to carry out all transactions. Meaning the

Gmane list address mangling (was Re: [fpc-pascal] Re: SDFDataset users!?)

2012-09-26 Thread Jonas Maebe
On 25 Sep 2012, at 13:59, Reinier Olislagers wrote: > In that not-too-far future, you might want to have a look at the > following patches ;) > 22970 [Patch] Database test suite: expanded readme > 22972 Firebird EXECUTE BLOCK RETURNS test > 22976 [Patch] Database test suite: temporary table test:

[fpc-pascal] Problems with Postgresql Character Encoding

2012-09-26 Thread Andrew Brunner
My cloud file/folder sync client desktop app builds and maintains a manifest of all files and folders from a specified starting point. I use this manifest to synchronize disk entries across devices. It uses HTTP requests and XML to carry out all transactions. Meaning there is no TSQLConnectio

[fpc-pascal] Re: SDFDataset users!?

2012-09-26 Thread Reinier Olislagers
On 25-9-2012 11:05, michael.vancanneyt-0is9kj9s...@public.gmane.org > Well, in the not-too-far future, I'll spend time on improving the DB > testsuite. > In that not-too-far future, you might want to have a look at the following patches ;) 22970 [Patch] Database test suite: expanded readme 2297

Re: [fpc-pascal] Error: Can't take the address of constant expressions

2012-09-26 Thread Jonas Maebe
On 26 Sep 2012, at 07:58, Vincent Snijders wrote: > 2012/9/25 Bernd : >> 2012/9/25 patspiper : >>> procedure test; >>> begin >>> Move(MyClass1.Ref.Data^, MyClass2.Ref.Data^, 1); >>> end; >> >> and if you cast it to some other pointer type before dereferencing the >> error goes away: >> >> proc

Re: [fpc-pascal] Error: Can't take the address of constant expressions

2012-09-26 Thread patspiper
On 26/09/12 08:58, Vincent Snijders wrote: 2012/9/25 Bernd: 2012/9/25 patspiper: procedure test; begin Move(MyClass1.Ref.Data^, MyClass2.Ref.Data^, 1); end; and if you cast it to some other pointer type before dereferencing the error goes away: procedure test; begin Move(MyClass1.Ref.Da