Re: Assistance needed for the query execution in non-public schema

2024-04-17 Thread Sasmit Utkarsh
Thanks Laurenz and David Regards, Sasmit Utkarsh +91-7674022625 On Tue, 16 Apr, 2024, 16:58 Laurenz Albe, wrote: > On Tue, 2024-04-16 at 16:30 +0530, Sasmit Utkarsh wrote: > > msshctd=> SELECT setval(pg_get_serial_sequence('mqa_flfo_cstr', 'id'), > coalesce(MAX(id), 1)) from mqa_flfo_cstr; > >

Re: Assistance needed for the query execution in non-public schema

2024-04-16 Thread Laurenz Albe
On Tue, 2024-04-16 at 16:30 +0530, Sasmit Utkarsh wrote: > msshctd=> SELECT setval(pg_get_serial_sequence('mqa_flfo_cstr', 'id'), > coalesce(MAX(id), 1)) from mqa_flfo_cstr; > ERROR:  permission denied for sequence mqa_flfo_cstr_id_seq > msshctd=> SELECT setval(pg_get_serial_sequence('mqa_ffp_nval

Re: Assistance needed for the query execution in non-public schema

2024-04-16 Thread David Rowley
On Tue, 16 Apr 2024 at 23:00, Sasmit Utkarsh wrote: > msshctd=> SELECT setval(pg_get_serial_sequence('mqa_flfo_cstr', 'id'), > coalesce(MAX(id), 1)) from mqa_flfo_cstr; > ERROR: permission denied for sequence mqa_flfo_cstr_id_seq > msshctd=> SELECT setval(pg_get_serial_sequence('mqa_ffp_nval', '

Assistance needed for the query execution in non-public schema

2024-04-16 Thread Sasmit Utkarsh
Hi Postgresql Team, I'm trying to execute the below query using the below psql 'host=cucmpsgsu0.postgres.database.azure.com port=5432 dbname=msshctd user=shc_uadmin password=x sslmode=require options=--search_path=shc_tty' msshctd=> show search_path; search_path - shc_tty (1 ro