alter database/user set problem

Started by frank_lupoabout 23 years ago2 messagesgeneral
Jump to latest
#1frank_lupo
frank_lupo@email.it

I use the PostgreSQL 7.3.1.

pippo=# ALTER user postgres SET "Autocommit" = "on"\g
ALTER USER
pippo=# ALTER user postgres SET "autocommit" = "off"\g
ALTER USER
pippo=# select usename,useconfig from pg_shadow\g
usename | useconfig
---------------+-------------------------------
postgres | {Autocommit=on,autocommit=off}

Which autocommit it used from the user?

Bye !!
Frank Lupo (Wolf) !!

/\_ _/\
\ o o /
--ooo-----ooo---

--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f

Sponsor:
Fare shopping con EmailConto Risparmio è facile e conveniente: con un solo click sconti tutti i tuoi acquisti!
Provalo adesso.
Clicca qui: http://adv2.email.it/cgi-bin/foclick.cgi?mid=839&d=28-1

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: frank_lupo (#1)
Re: alter database/user set problem

"=?utf-8?Q?frank=5Flupo?=" <frank_lupo@email.it> writes:

pippo=# ALTER user postgres SET "Autocommit" = "on"\g
ALTER USER
pippo=# ALTER user postgres SET "autocommit" = "off"\g
ALTER USER
pippo=# select usename,useconfig from pg_shadow\g
usename | useconfig
---------------+-------------------------------
postgres | {Autocommit=on,autocommit=off}

This is a bug --- it should be doing case-insensitive comparisons to
detect duplicate variable names. Will fix for 7.3.2.

Which autocommit it used from the user?

Probably the last one stored...

regards, tom lane