Re: [PATCHES] remove unused caller arg from stringToQualifiedNameList

2007-06-25 Thread Tom Lane
Alvaro Herrera [EMAIL PROTECTED] writes:
 This function seems to have an argument that is no longer used (probably
 leftover from when it used to report an error message?).

Yeah, I recall having left the argument in place because it seemed like
we might want it again someday.  But that was for 7.4 which was awhile
ago.  There's probably not a strong argument to keep it, but on the
other hand is there a strong argument to remove it?

regards, tom lane

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings


Re: [PATCHES] remove unused caller arg from stringToQualifiedNameList

2007-06-25 Thread Alvaro Herrera
Tom Lane wrote:
 Alvaro Herrera [EMAIL PROTECTED] writes:
  This function seems to have an argument that is no longer used (probably
  leftover from when it used to report an error message?).
 
 Yeah, I recall having left the argument in place because it seemed like
 we might want it again someday.  But that was for 7.4 which was awhile
 ago.  There's probably not a strong argument to keep it, but on the
 other hand is there a strong argument to remove it?

Other than removing cruft, nope, I don't see any ...

In any case, this is an exported symbol so maybe it's not a good idea to
mess with it.  OTOH I checked PL/R and PL/php and neither uses it, so
this may not be a problem at all.

-- 
Alvaro Herrera http://www.flickr.com/photos/alvherre/
The ability to monopolize a planet is insignificant
next to the power of the source

---(end of broadcast)---
TIP 4: Have you searched our list archives?

   http://archives.postgresql.org


Re: [PATCHES] remove unused caller arg from stringToQualifiedNameList

2007-06-25 Thread Jaime Casanova

On 6/25/07, Alvaro Herrera [EMAIL PROTECTED] wrote:

Tom Lane wrote:
 Alvaro Herrera [EMAIL PROTECTED] writes:
  This function seems to have an argument that is no longer used (probably
  leftover from when it used to report an error message?).

 Yeah, I recall having left the argument in place because it seemed like
 we might want it again someday.  But that was for 7.4 which was awhile
 ago.  There's probably not a strong argument to keep it, but on the
 other hand is there a strong argument to remove it?

Other than removing cruft, nope, I don't see any ...

In any case, this is an exported symbol so maybe it's not a good idea to
mess with it.  OTOH I checked PL/R and PL/php and neither uses it, so
this may not be a problem at all.



FWIW, we remove the second argument in textToQualifiedNameList() two
years ago so i think this is just finishing what we already started,
IMHO anyway
http://archives.postgresql.org/pgsql-committers/2005-05/msg00318.php

--
regards,
Jaime Casanova

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning.
  Richard Cook

---(end of broadcast)---
TIP 3: Have you checked our extensive FAQ?

  http://www.postgresql.org/docs/faq


Re: [PATCHES] remove unused caller arg from stringToQualifiedNameList

2007-06-25 Thread Tom Lane
Jaime Casanova [EMAIL PROTECTED] writes:
 On 6/25/07, Alvaro Herrera [EMAIL PROTECTED] wrote:
 In any case, this is an exported symbol so maybe it's not a good idea to
 mess with it.  OTOH I checked PL/R and PL/php and neither uses it, so
 this may not be a problem at all.

 FWIW, we remove the second argument in textToQualifiedNameList() two
 years ago so i think this is just finishing what we already started,

True, we whack around APIs like this one in every release anyway ...
I don't have an objection to changing this in HEAD.

regards, tom lane

---(end of broadcast)---
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate