On Thu, Apr 23, 2015 at 05:25:05PM +0530, Akshita Jha wrote:
> Hi,
>
> I created a new function bibtex_debian_pool() which has an INNER JOIN and
> also escapes '#'. So, the query in generate_bibtex.py will change to :
>
> # create BibTeX file
> bf = open(self.bibtexfile, 'w')
>
> if self.all_ref == 1:
> query = "SELECT * FROM bibtex()"
> else:
> query = "SELECT * FROM bibtex_debian_pool()"
Just had another view: I think the code duplication in
bibtex_debian_pool() is a bit hard do maintain. Why not defining
it as
SELECT * FROM bibtex()
JOIN ...
?