[Lazarus] What is a TSQLTransaction and why do I need one?

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Thu Dec 2 14:14:17 CET 2010


michael.vancanneyt at wisa.be wrote:

>>>>>> Would it be possible to write a server-side PostgreSQL extension 
>>>>>> using
>>>>>> Lazarus, including friendly debugging?
>>>>>
>>>>> Yes, feel free to do that :)
>>>>
>>>> [GRIN] Actually, it was a serious question: can Lazarus debug a .so and
>>>> would it stand any chance of debugging one which had the sort of
>>>> calling convention that Postgres expects an extension to have?
>>>
>>> Really don't know, have to study docs for such scenario.
>>
>> Speculating that Lazarus can, in fact, debug a .so and allowing that 
>> the extension would be invoked by a forked PostgreSQL process, I think 
>> the question boils down to whether Lazarus can attach to a process 
>> that it has not started up.
> 
> GDB has a command for it (attach) , so it should be possible.

Potentially doable rather than currently possible. Presumably it would 
be a functional alternative to the Run button or equivalent menu entry.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list