Selecting values from comma separated string - Mailing list pgsql-sql

From Nacef LABIDI
Subject Selecting values from comma separated string
Date
Msg-id f16f7ea00908260619t59555d37u66bebfe47132304f@mail.gmail.com
Whole thread Raw
Responses Re: Selecting values from comma separated string
Re: Selecting values from comma separated string
List pgsql-sql
Hi all,

I want to write a function that takes as param a comma separated values string and perform a select matching these values.

Here is the string '1,3,7,8'

And I wan to perform a : SELECT * FROM my_table WHERE id IN (1, 3, 7, 8);

Does anyone have a clue ?

Thanks

Nacef

pgsql-sql by date:

Previous
From: Denis BUCHER
Date:
Subject: Re: Question about encoding
Next
From: "A. Kretschmer"
Date:
Subject: Re: Selecting values from comma separated string