Обсуждение: textToQualifiedNameList second parameter

Поиск
Список
Период
Сортировка

textToQualifiedNameList second parameter

От
Rafael Martinez Guerrero
Дата:
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:

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/



Re: textToQualifiedNameList second parameter

От
Tom Lane
Дата:
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


Re: textToQualifiedNameList second parameter

От
Jaime Casanova
Дата:
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