Re: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags missing

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Mike Blackwell" <maiku41(at)anet(dot)com>
Cc: <pgsql-docs(at)postgresql(dot)org>, <pgsql-www(at)postgresql(dot)org>
Subject: Re: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags missing
Date: 2005-01-20 21:11:07
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE476696@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-www

>> In the pl/Perl section of the 8.0.0 manual, as viewed on the
>postgresql.org
>> web site, all perl code hash tags seem to be missing. i.e.
>
>Yeah, I see the same; but it's not in the devel docs. Compare
> http://www.postgresql.org/docs/8.0/static/plperl.html
> http://developer.postgresql.org/docs/postgres/plperl.html
>and look for instance at the empcomp() function about halfway down
>the page:
> return $emp-> + $emp->;
>vs
> return $emp->{basesalary} + $emp->{bonus};
>
>Any theories what's wrong here?

Going out on a line a bit here - and someone who've worked with teh
system probably knows for sure but... It looks like {} is used as the
template placeholder in the templating system on the website.

It would seem to me that the fix would be as simple as to set
$removeUnknownVariables to false when parsing the docs template, but I'm
far from sure at that. And I have no way to test it. And it might break
something else. End of disclaimers.

Anyway. If it helped one of the web guys in the right direction
(assuming it was right), then there was some point to this post ;-)

//Magnus

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2005-01-20 21:23:16 Re: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags missing
Previous Message Tom Lane 2005-01-20 20:47:34 Re: [BUGS] BUG #1414: DOC - pl/Perl hash tags missing

Browse pgsql-www by date

  From Date Subject
Next Message Tom Lane 2005-01-20 21:23:16 Re: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags missing
Previous Message John Hansen 2005-01-20 20:51:34 Re: News Events do NOT mirror