From: | "ldh(at)laurent-hasson(dot)com" <ldh(at)laurent-hasson(dot)com> |
---|---|
To: | Ashok Kumar Mani <ashokkumar(dot)mani(at)dnata(dot)com>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | RE: CREATE TYPE error in PostgreSQL database!!!!!! |
Date: | 2022-01-03 21:33:27 |
Message-ID: | MN2PR15MB25603D7EC31C4B129CE6D96385499@MN2PR15MB2560.namprd15.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
From: Ashok Kumar Mani <ashokkumar(dot)mani(at)dnata(dot)com>
Sent: Monday, January 03, 2022 02:40
To: pgsql-admin(at)postgresql(dot)org
Subject: CREATE TYPE error in PostgreSQL database!!!!!!
Hi Team
While creating function I have encountered the below error in PostgreSQL database.
I need to know how to use the array declaration in Type datatype in postgreSQL database. Could you please help or share some exmple to use it?
1. Need to create type
2. Declare array variable in type datatype.
ERROR: syntax error at or near "c_db_fieldvalues" LINE 113: ... fetch usage_cursor into c_db_fieldvalues c_db_field... ^ SQL state: 42601 Character: 9447
Thanks & Best Wishes,
Ashok
[Laurent Hasson]
Can you post your code that's erroring out?
From | Date | Subject | |
---|---|---|---|
Next Message | Wells Oliver | 2022-01-07 21:04:14 | pg_restore with --use-list and --jobs and depdendencies |
Previous Message | Holger Jakobs | 2022-01-03 15:05:42 | Re: CREATE TYPE error in PostgreSQL database!!!!!! |