Re: [fpc-pascal] Could not set breakpoint

2013-09-05 Thread Martin
On 05/09/2013 16:18, John Youngquist wrote: I am running v2.4.4. I get "could not set breakpoint messages" on ordinary lines of code. What causes this? How do I fix it? How to you set the breakpoint? Do you use gdb directly? Did you compile with smart-linking? Do NOT. What debug info did yo

Re: [fpc-pascal] PostgreSQL: ERROR: operator does not exists: uuid = text

2013-09-05 Thread silvioprog
2013/9/5 Michael Van Canneyt > On Thu, 5 Sep 2013, silvioprog wrote: > >> Thank guys, fixed with: >> >> q.SQL.Add('where t1.id::text = :id'); >> > > I recommend against this. > > It will do the conversion for each record that is tested. This takes time. > > If you do the conversion on the paramet

Re: [fpc-pascal] Could not set breakpoint

2013-09-05 Thread John Youngquist
I use Alt d b or cntrl f8. No smart-linking. XP 32 bit Pentium I had "generate also backtrace" on (don't know why) I changed to just "generate debug symbol" and now it seems to work. Thanks JY On 9/5/2013 11:45 AM, Martin wrote: On 05/09/2013 16:18, John Youngquist wrote: I am running v2.4.4.

[fpc-pascal] Could not set breakpoint

2013-09-05 Thread John Youngquist
I am running v2.4.4. I get "could not set breakpoint messages" on ordinary lines of code. What causes this? How do I fix it? Thanks. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] PostgreSQL: ERROR: operator does not exists: uuid = text

2013-09-05 Thread Michael Van Canneyt
On Thu, 5 Sep 2013, silvioprog wrote: Thank guys, fixed with: q.SQL.Add('where t1.id::text = :id'); I recommend against this. It will do the conversion for each record that is tested. This takes time. If you do the conversion on the parameter, it will be done only once, when the paramete

Re: [fpc-pascal] PostgreSQL: ERROR: operator does not exists: uuid = text

2013-09-05 Thread silvioprog
Thank guys, fixed with: q.SQL.Add('where t1.id::text = :id'); I'll do this change in all units of my project. :/ -- Silvio Clécio My public projects - github.com/silvioprog ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freep

Re: [fpc-pascal] PostgreSQL: ERROR: operator does not exists: uuid = text

2013-09-05 Thread LacaK
Michael Van Canneyt wrote / napísal(a): On Wed, 4 Sep 2013, silvioprog wrote: Hello, I can't understand how to open a query filtering by a field of type GUID. The error message is below (translated from BR to US): TPQConnection: Preparation of query failed. (PostgreSQL: ERROR: operator