X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C18B43A4886; Thu, 20 Jan 2005 21:11:12 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 76625-07; Thu, 20 Jan 2005 21:11:07 +0000 (GMT) Received: from mx-2.sollentuna.net (mx-2.sollentuna.net [195.84.163.199]) by svr1.postgresql.org (Postfix) with ESMTP id 54F8E3A485A; Thu, 20 Jan 2005 21:11:08 +0000 (GMT) Received: from ALGOL.sollentuna.se (janus.sollentuna.se [62.65.68.67]) by mx-2.sollentuna.net (Postfix) with ESMTP id DD52A8F287; Thu, 20 Jan 2005 22:11:07 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags missing Date: Thu, 20 Jan 2005 22:11:07 +0100 Message-ID: <6BCB9D8A16AC4241919521715F4D8BCE476696@algol.sollentuna.se> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [DOCS] [BUGS] BUG #1414: DOC - pl/Perl hash tags missing Thread-Index: AcT/MZRbWYjD1ghPTnuEZKsJLxdkVQAAp1rQ From: "Magnus Hagander" To: "Tom Lane" , "Mike Blackwell" Cc: , X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.057 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200501/575 X-Sequence-Number: 7318 >> In the pl/Perl section of the 8.0.0 manual, as viewed on the=20 >postgresql.org >> web site, all perl code hash tags seem to be missing. i.e.=20 > >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