Re: BUG #18065: An error occurred when attempting to add a column of type "vector" to a table named "vector".
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #18065: An error occurred when attempting to add a column of type "vector" to a table named "vector". |
| Дата | |
| Msg-id | 3093016.1692710805@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: BUG #18065: An error occurred when attempting to add a column of type "vector" to a table named "vector". ("David G. Johnston" <david.g.johnston@gmail.com>) |
| Ответы |
Re: BUG #18065: An error occurred when attempting to add a column of type "vector" to a table named "vector".
|
| Список | pgsql-bugs |
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Tuesday, August 22, 2023, PG Bug reporting form <noreply@postgresql.org>
> wrote:
>> When I run:
>> create table if not exists "vector" ();
>> alter table "vector" add column if not exists "fz_vector1_embedding"
>> vector(1536);
>> I got an error:
>> ERROR: type modifier is not allowed for type "vector"
>> LINE 1: ..." add column if not exists "fz_vector1_embedding" vector(153...
> You are in the wrong place, core doesn’t have this type.
I think it's basically a search path problem: the table's composite type
"vector" is masking the extension's type. Try schema-qualifying "vector"
with the appropriate schema name.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера