obtaining ARRAY position for a given match - Mailing list pgsql-general

From Pedro Doria Meunier
Subject obtaining ARRAY position for a given match
Date
Msg-id 4B053FAC.5010408@netmadeira.com
Whole thread Raw
Responses Re: obtaining ARRAY position for a given match  (Scott Bailey <artacus@comcast.net>)
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm trying to get the array position for a given match as thus:

This gets me the record for a given match:
SELECT *  FROM garmin_units WHERE 'L' = ANY (protocol_tag);

Ok. so far so good...
But what about getting the array position at which 'L' is stored?

Searching the Postgresql docs gives me no answer... :(
Am I on a wild goose chase?

Any insight highly appreciated ;)

BR,
Pedro Doria Meunier.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAksFP6IACgkQ2FH5GXCfxAuasgCgu/d68fkg16r1OF/2QSLnmwhW
gjYAniyQ1Mn/72323NSznxgakF4dn98k
=tWbI
-----END PGP SIGNATURE-----


pgsql-general by date:

Previous
From: Henk van Lingen
Date:
Subject: text search query planning
Next
From: Peter Eisentraut
Date:
Subject: Re: Enum on-disk format