Tony Caduto wrote: > Would it not be possible to add another param to the function like I mentioned > and keep everyone happy? Users coming from MS SQL server look puzzled when > they see the huge Character Varying(n) in a admin tool. > > I have not programmed in C since 1993, but I know in pascal you can have a > parameter for a function be set as a const, that way it would remain > compatible with the current function, then some logic could be added to make > the long names be short? or even a overloaded function would be ok. > > I have got around this by using a case statment but it would be so nice if I > could just call that function and have the results look like what users see > in tools such as MS SQL servers enterprise manager. We don't have function overloading like that in C, so we would need a new function and have to keep the old one around too. -- Bruce Momjian | http://candle.pha.pa.us pgman@xxxxxxxxxxxxxxxx | (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 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)