Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 8EACC9FB87E for ; Tue, 16 Oct 2007 13:50:27 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 63639-08 for ; Tue, 16 Oct 2007 13:50:24 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 93D399FB881 for ; Tue, 16 Oct 2007 13:50:24 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l9GGoF31019364; Tue, 16 Oct 2007 12:50:15 -0400 (EDT) To: "Sofer, Yuval" cc: pgsql-admin@postgresql.org Subject: Re: when inserting to table, text type parameter become NULL (after big assignment to this parameter) In-reply-to: References: Comments: In-reply-to "Sofer, Yuval" message dated "Tue, 16 Oct 2007 13:56:25 +0200" Date: Tue, 16 Oct 2007 12:50:15 -0400 Message-ID: <19363.1192553415@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/144 X-Sequence-Number: 27058 "Sofer, Yuval" 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