Re: BUG #18065: An error occurred when attempting to add a column of type "vector" to a table named "vector".

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "a17764530215(at)gmail(dot)com" <a17764530215(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #18065: An error occurred when attempting to add a column of type "vector" to a table named "vector".
Date: 2023-08-22 12:51:28
Message-ID: CAKFQuwa5zpmWp8L+6cdF=-uKQeW+VQhb+eOx_4J14y=RGv=zrA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tuesday, August 22, 2023, PG Bug reporting form <noreply(at)postgresql(dot)org>
wrote:

> The following bug has been logged on the website:
>
> Bug reference: 18065
> Logged by: kaijian xu
> Email address: a17764530215(at)gmail(dot)com
> PostgreSQL version: 15.3
> Operating system: Debian GNU/Linux 11
> Description:
>
> 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.

David J.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2023-08-22 13:10:31 Re: BUG #18064: Order of cascading deletes by foreign key; "on delete restrict"
Previous Message PG Bug reporting form 2023-08-22 09:06:50 BUG #18065: An error occurred when attempting to add a column of type "vector" to a table named "vector".