pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sofer, Yuval <Yuval_Sofer@bmc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: when inserting to table, text type parameter become NULL (after big assignment to this parameter)
Date: Tue, 16 Oct 2007 12:50:15 -0400
Message-ID: <19363.1192553415@sss.pgh.pa.us> (raw)
In-Reply-To: <F8B9B12641FB6B4FAC761BDEF9D63B040EE27A6D@tlv-ex-01.adprod.bmc.com>
References: <F8B9B12641FB6B4FAC761BDEF9D63B040EE27A6D@tlv-ex-01.adprod.bmc.com>

"Sofer, Yuval" <Yuval_Sofer@bmc.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



view thread (3+ messages)  latest in thread

Message-ID: <19363.1192553415@sss.pgh.pa.us>
Permalink:  ../19363.1192553415@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19363.1192553415@sss.pgh.pa.us

 · 

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Yuval_Sofer@bmc.com
  Subject: Re: when inserting to table, text type parameter become NULL (after big assignment to this parameter)
  In-Reply-To: <19363.1192553415@sss.pgh.pa.us>

* 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