"Sofer, Yuval" <Yuval_Sofer(at)bmc(dot)com> writes:
> I am trying to get server parameters (pg_settings) using a cursor and
> insert them to one column table.
> The problem is that the string (the parameter value) is not inserted to
> the table.
> When selecting, this column shows NULL value.
Hm, your example works fine for me in every current 8.x release.
What PG version is this exactly?
regards, tom lane