----- original Nachricht -------- Betreff: Re: [ADMIN] Modifying Makefile Gesendet: Sa 21 Okt 2006 05:50:59 CEST Von: "Tom Lane"<tgl@xxxxxxxxxxxxx> > "Mohamed Yassin Eltabakh" <meltabak@xxxxxxxxxxxxx> writes: > > I updated the src/backend/parser/Makefile and added "new.o" to the OBJS > > list, but when I compile I receive error: > > ....undefined reference to `PSQLexec' > > ....undefined reference to `PQntuples' > > ....undefined reference to `PQclear' > > You seem to be trying to use the libpq client from inside the backend. > This is entirely inappropriate. If you need to run general-purpose SQL > queries you can use SPI, but code that is doing that probably does not > belong in /parser. Just about anything that makes sense to do during > parse analysis should be adequately supported by the system catalog > cache routines. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match > --- original Nachricht Ende ---- "Jetzt Handykosten senken mit klarmobil - 14 Ct./Min.! Hier klicken" http://www.klarmobil.de/index.html?pid=73025