sqlbox postgresql bug

Klaus Darilion <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi Rene!

I found another bug in sqlbox_pgsql.c. Again, the problem is due to 
diffent SQL syntax for pgsql and mysql. In function

Msg *pgsql_fetch_msg()

the select query "SELECT ... FROM %S LIMIT 0,1"

must be changed to

the select query "SELECT ... FROM %S LIMIT 1"


regards,
klaus


PS: pgsql syntax for "LIMIT" is at:
http://www.postgresql.org/docs/7.2/static/queries-limit.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.