From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Chris Bitmead <chris(at)bitmead(dot)com> |
Cc: | Postgres Hackers List <hackers(at)postgreSQL(dot)org> |
Subject: | Re: Backend Question |
Date: | 2000-07-03 14:47:07 |
Message-ID: | 19213.962635627@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Chris Bitmead <chris(at)bitmead(dot)com> writes:
>> You should realize, however, that all that backend-PQexec code is dead
>> code and has been for a long time.
> Why is it dead code? Why is it no longer necessary?
It's dead code because it's not called from anywhere.
Once upon a time it was intended to be called by dynamically-loaded
C functions, but the SPI interface superseded it a long time ago.
The only reason for not ripping it out is the faint possibility that
somewhere out there is someone with hoary old C-function code that
still does queries via the backend-PQexec interface instead of SPI.
But considering that backend-PQexec has been undocumented at least
since Berkeley days, I rather doubt it.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Bitmead | 2000-07-03 14:47:49 | Re: Backend Question |
Previous Message | Sevo Stille | 2000-07-03 14:41:02 | Re: Re: postgres - development of inet/cidr |