textToQualifiedNameList second parameter

Started by Rafael Martinez Guerreroalmost 20 years ago3 messages
#1Rafael Martinez Guerrero
r.m.guerrero@usit.uio.no

Hello

In version 7.4.x, the function textToQualifiedNameList was defined with
two parameters.

Some months ago, the second parameter was removed [1]http://archives.postgresql.org/pgsql-patches/2005-05/msg00307.php so I had to modify
my program to work after this change. Now with 8.0.7, the second
parameter is back again and I get this error when I try to compile:

pg_dbsize.c: In function `relation_size':
pg_dbsize.c:295: too few arguments to function `textToQualifiedNameList'
make: *** [pg_dbsize] Error 1

Is the second parameter back again?

[1]: http://archives.postgresql.org/pgsql-patches/2005-05/msg00307.php

--
Rafael Martinez, <r.m.guerrero@usit.uio.no>
Center for Information Technology Services
University of Oslo, Norway

PGP Public Key: http://folk.uio.no/rafael/

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Rafael Martinez Guerrero (#1)
Re: textToQualifiedNameList second parameter

Rafael Martinez Guerrero <r.m.guerrero@usit.uio.no> writes:

Some months ago, the second parameter was removed [1] so I had to modify
my program to work after this change. Now with 8.0.7, the second
parameter is back again

I think you're confused. The second parameter was removed in 8.1.
It's present in all prior branches AFAICS.

regards, tom lane

#3Jaime Casanova
systemguards@gmail.com
In reply to: Rafael Martinez Guerrero (#1)
Re: textToQualifiedNameList second parameter

On 2/24/06, Rafael Martinez Guerrero <r.m.guerrero@usit.uio.no> wrote:

Hello

In version 7.4.x, the function textToQualifiedNameList was defined with
two parameters.

Some months ago, the second parameter was removed [1] so I had to modify
my program to work after this change. Now with 8.0.7, the second
parameter is back again and I get this error when I try to compile:

so, your progam rely on internal functions from someone else's
software? bad idea

Is the second parameter back again?

[1]: http://archives.postgresql.org/pgsql-patches/2005-05/msg00307.php

--
regards,
Jaime Casanova

"What they (MySQL) lose in usability, they gain back in benchmarks, and that's
all that matters: getting the wrong answer really fast."
Randal L. Schwartz