Declared but no defined functions - Mailing list pgsql-hackers

From Masahiko Sawada
Subject Declared but no defined functions
Date
Msg-id CAD21AoDuAYsRb3Q9aobkFZ6DZMWxsyg4HOmgkwgeWNfSkTwGxw@mail.gmail.com
Whole thread Raw
Responses Re: Declared but no defined functions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

I realized that TransactionIdAbort is declared in the transam.h but
there is not its function body. As far as I found there are three
similar functions in total by the following script.

for func in `git ls-files | egrep "\w+\.h$" | xargs cat | egrep
"extern \w+ \w+\(.*\);" | sed -e "s/.* \(.*\)(.*);/\1(/g"`
do
    if [ `git grep "$func" -- "*.c" | wc -l` -lt 1 ];then
        echo $func
    fi
done

I think the following functions are mistakenly left in the header
file. So attached patch removes them.

dsa_startup()
TransactionIdAbort()
renameatt_type()

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Add client connection check during the execution of the query
Next
From: Pavel Stehule
Date:
Subject: Re: range_agg