Christoph Haller <ch(at)rodos(dot)fzk(dot)de> writes:>> I thougth running this helloworldish C program:>> should print>> Bar>> 0>> >> but stdout shows>> Bar>> -1>>
> All names are folded to lowercase, except enclosed in double quotes. So> printf("%d\n",PQfnumber(res,"\"Bar\""));> gives you the right result.
I wonder whether this behavior is appropriate for PQfnumber, though.It's never been documented ... and certainly should be if we decidewe should keep it. Comments?
regards, tom lane