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

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Thu Dec 2 13:30:17 CET 2010



On Thu, 2 Dec 2010, Mark Morgan Lloyd wrote:

> zeljko at holobit.net 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.

Michael.




More information about the Lazarus mailing list