pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: bderstin@med.umich.edu
To: pgsql-docs@postgresql.org
Subject: clarify 43.7
Date: Fri, 13 Oct 2017 18:34:15 +0000
Message-ID: <20171013183415.8204.48716@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.0/static/plpython-database.html
Description:

https://www.postgresql.org/docs/9.4/static/plpython-database.html

&quot;If my_table has a column my_column, it would be accessed as:
foo = rv[i][&quot;my_column&quot;]
The number of rows returned can be obtained using the built-in len
function.&quot;

It it unclear where &#39;i&#39; comes from or how it would be used in context. 
Also, the &#39;len&#39; function is mentioned but no example is shown regarding how
to use it. Is there a generic way to access the entire column &quot;my_column&quot; in
foo without using &#39;i&#39;? 

Is the resulting variable &#39;foo&#39; a list or dictionary?

thanks!

-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


Message-ID: <20171013183415.8204.48716@wrigleys.postgresql.org>
Permalink:  ../20171013183415.8204.48716@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20171013183415.8204.48716@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: bderstin@med.umich.edu
  Subject: Re: clarify 43.7
  In-Reply-To: <20171013183415.8204.48716@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox