pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: reina_ga@hotmail.com
To: pgsql-sql@postgresql.org
Subject: SELECTing part of a matrix
Date: 27 Apr 2004 12:12:51 -0700
Message-ID: <272e4be7.0404271112.2f181266@posting.google.com> (raw)

I've got a 3D matrix stored in a table. I'd like to pull back just 2
of the dimensions (specifying a constant value for the 3rd dimension).

e.g. 
table1
======
matrix1[5][10][20]

I've like to get matrix[1][all][all] and have it pulled back as a 2D
matrix (new_matrix1[all][all]).

Any way to do this?

-Tony



Message-ID: <272e4be7.0404271112.2f181266@posting.google.com>
Permalink:  ../272e4be7.0404271112.2f181266@posting.google.com/
Also on:    postgresql.org/message-id/272e4be7.0404271112.2f181266@posting.google.com

 · 

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-sql@postgresql.org
  Cc: reina_ga@hotmail.com
  Subject: Re: SELECTing part of a matrix
  In-Reply-To: <272e4be7.0404271112.2f181266@posting.google.com>

* 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