Skip site navigation (1) Skip section navigation (2)

Re: Changing transform_null_equals (and other settings)

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Changing transform_null_equals (and other settings)
Date: 2009-03-19 07:08:51
Message-ID: 20090319070851.GA8634@tux (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
David Saracini <dsaracini(at)yahoo(dot)com> wrote:

> Hello all,
> Is there a way (via a sql cmd) to change the "default" value for this settings?
> So - just to be clear.  I understand that if I send the following command:
>    "set transform_null_equals to on;"
> I can set it for a given connection.  However, I guess what I really
> want to know, is there a way to literally (or effectively) change the
> value in the Postgresql.conf file via a sql cmd?  Or do I physically
> have to edit the value in that file (via a text editor or pgAdmin III,
> etc)

You have to edit the config, right. Alternatively, you can do:

alter user your_user_account set transform_null_equals to on;

In the future this user has always set this value.

Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

In response to

pgsql-novice by date

Next:From: Rob RichardsonDate: 2009-03-19 14:26:34
Subject: How do I drop something that might not exist?
Previous:From: David SaraciniDate: 2009-03-19 01:06:31
Subject: Changing transform_null_equals (and other settings)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group