| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Craig Ringer <craig(at)postnewspapers(dot)com(dot)au> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Igor <igor(at)carcass(dot)ath(dot)cx>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: server-side extension in c++ |
| Date: | 2010-06-02 03:26:33 |
| Message-ID: | 201006020326.o523QXM01845@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Craig Ringer wrote:
> ( BTW, all in all, I agree with Tom Lane - the best answer is "don't".
> Sometimes you need to access functionality from C++ libraries, but
> unless that's your reason I wouldn't ever consider doing it. )
>
> Here's a rough outline of the rules I follow when mixing C/C++ code,
> plus some info on the longjmp error handling related complexities added
> by Pg:
This was very helpful. I have condensed your ideas into the attached
patch that contains the potential C++ documentation section.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ None of us is going to be here forever. +
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/plain | 4.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ken Tanzer | 2010-06-02 03:36:15 | Re: Disable executing external commands from psql? |
| Previous Message | Tom Lane | 2010-06-02 03:22:39 | Re: Disable executing external commands from psql? |