Volkan YAZICI wrote: > Hi, > > Which way do you suggest to "Prevent libpq's PQfnumber() from > lowercasing the column name" (which is listed as a TODO item). If > column name has quotes around it we're just removing the quotes and > comparing with the related column name. Else, lowercasing the column > name and then comparing. > > I couldn't get the idea behind this TODO. Can somebody explain it a > little bit more?
Good question. The TODO item is: * Prevent libpq's PQfnumber() from lowercasing the column name? The question mark means we are not sure how to deal with it. I think your idea of using quotes to preserve case is a good one. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org