How can I change the sequence_name parameter after renaming a sequence (PostgreSQL)

2018-03-19 18:01:22

I have renamed a sequence with the following command:

ALTER SEQUENCE TableIdSeq RENAME TO NewTableIdSeq;

however, when I issue the \d NewTableIdSeq command, I get the following output:

Sequence "dev.newtableidseq"

Column | Type | Value

---------------+---------+---------------------

sequence_name | name | tableidseq <--------------- HASN'T CHANGED!!

last_value | bigint | 3

start_value | bigint | 1

increment_by | bigint | 1

max_value | bigint | 9223372036854775807

min_value | bigint | 1

cache_value | bigint | 1

log_cnt | bigint | 30

is_cycled | boolean | f

is_called | boolean | t

As you can see, the sequence_name property of the sequence is still set to the old name. How can I change the name here as well?