BUG #17298: Error in func pg_get_serial_sequence()

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: salamsp(at)gmail(dot)com
Subject: BUG #17298: Error in func pg_get_serial_sequence()
Date: 2021-11-25 17:53:34
Message-ID: 17298-37b47e413b975a9b@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17298
Logged by: Serge Salamatin
Email address: salamsp(at)gmail(dot)com
PostgreSQL version: 13.5
Operating system: Ubuntu 13.5-2.pgdg20.04+1
Description:

CREATE SEQUENCE IF NOT EXISTS tnd.ui_seq
INCREMENT 1
START 1
MINVALUE 1
MAXVALUE 9223372036854775807
CACHE 1;

CREATE TABLE IF NOT EXISTS tnd.xdwdef
(
defnm citext COLLATE pg_catalog."default" NOT NULL,
ui_id bigint NOT NULL DEFAULT nextval('tnd.ui_seq'::regclass),
def citext COLLATE pg_catalog."default",
CONSTRAINT defnm_pk PRIMARY KEY (defnm)
)

;
select pg_get_serial_sequence('tnd.xdwdef','ui_id');

returns null

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2021-11-25 19:43:59 BUG #17299: Exit code 3 when open connections concurrently (PQisthreadsafe() == 1)
Previous Message Michael Paquier 2021-11-25 03:23:41 Re: BUG #17288: PSQL bug with COPY command (Windows)