Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrUWD-0004Ma-N9 for pgsql-docs@arkaria.postgresql.org; Sat, 05 Jan 2013 14:14:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TrUWD-0006sP-87 for pgsql-docs@arkaria.postgresql.org; Sat, 05 Jan 2013 14:14:37 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrUWC-0006sK-MS for pgsql-docs@postgresql.org; Sat, 05 Jan 2013 14:14:36 +0000 Received: from mail-we0-f173.google.com ([74.125.82.173]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrUWB-0002FL-4U for pgsql-docs@postgresql.org; Sat, 05 Jan 2013 14:14:36 +0000 Received: by mail-we0-f173.google.com with SMTP id z2so8375419wey.32 for ; Sat, 05 Jan 2013 06:14:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=cGU+ptywHQze1H1PWfet4ZHfjsoUPw7+fJFGeiK1JNc=; b=psXDMtDh2BlJE3UZAm6tQPDC8Rii07ARjaF+WrViTV3Jq8Es5VnBacjGpkiHzMDx7p l5Kh5hwMsRjMlDlUzLc3r9z2Vom5qU6nnb34K2tjSTyS+mqPqRgMkcAkl/Qp2E0YW/tc pL19utbawjrnZzxAL8Z1y8KvdXVXrwetiKHLSPhuYxMhjiXN5O0Nx82zPIlYjoS6FXfL ejajaqWCxqafWULDh/7mpLvjo20h5brf7hNiqFOQ5GHOuh9siOQW8AFUFwN3nvJnB/iT lIeh7pqmQdGw+NsprMBbu/Vp1Q5HFCgyV/PJhGOLbZG1A1AYP+6V7luCw7ngWXbGRTHw 9HVQ== MIME-Version: 1.0 Received: by 10.194.235.6 with SMTP id ui6mr88928952wjc.12.1357395274078; Sat, 05 Jan 2013 06:14:34 -0800 (PST) Received: by 10.194.104.41 with HTTP; Sat, 5 Jan 2013 06:14:34 -0800 (PST) In-Reply-To: References: Date: Sat, 5 Jan 2013 15:14:34 +0100 Message-ID: Subject: Re: old testlo example code From: Magnus Hagander To: Josh Kupershmidt Cc: pgsql-docs Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQm+GA5gvWqZD5JjF5ZyRHYocWEd76SPxTIEJDkqqS5O1VEdX0TJM3+mtUA7/Q9Z/dMSRZiT X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On Sat, Jan 5, 2013 at 3:27 AM, Josh Kupershmidt wrote: > This documentation page: > http://www.postgresql.org/docs/current/static/lo-examplesect.html > > contains a hardcoded copy of ./src/test/examples/testlo.c, and it > seems like this version hasn't been updated along with its source. The > version from the docs no longer compiles for me, at least not when I > drop it into the place of the current ./src/test/examples/testlo.c. > That's easy enough to fix, though I have a historical question about > this code. ISTM we should either remove the example programs and replace them with just a reference, or find a way to include the source code into the documentation with some kind of include statement instead of haivng a copy of it. That should be done the same way for all the example programs, not just the testlo ones of course. Not sure if it's possible to create such an include though - someone who knows our toolchain better can hopefully comment on that? -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs