[email protected] 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.

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

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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to