Skip to content

feat: highly available Postgresql using our own image that support pgvector#2406

Merged
ldming merged 1 commit intomainfrom
support/postgresql-support-pgvector
Apr 4, 2023
Merged

feat: highly available Postgresql using our own image that support pgvector#2406
ldming merged 1 commit intomainfrom
support/postgresql-support-pgvector

Conversation

@ldming
Copy link
Copy Markdown
Collaborator

@ldming ldming commented Apr 4, 2023

postgres=# select version();
                                                                 version
-----------------------------------------------------------------------------------------------------------------------------------------
 PostgreSQL 15.2 (Ubuntu 15.2-1.pgdg22.04+1) on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, 64-bit
(1 row)

postgres=# \dx
                                            List of installed extensions
        Name        | Version |   Schema   |                              Description
--------------------+---------+------------+------------------------------------------------------------------------
 file_fdw           | 1.0     | public     | foreign-data wrapper for flat file access
 pg_auth_mon        | 1.1     | public     | monitor connection attempts per user
 pg_cron            | 1.5     | pg_catalog | Job scheduler for PostgreSQL
 pg_stat_kcache     | 2.2.1   | public     | Kernel statistics gathering
 pg_stat_statements | 1.10    | public     | track planning and execution statistics of all SQL statements executed
 plpgsql            | 1.0     | pg_catalog | PL/pgSQL procedural language
 plpython3u         | 1.0     | pg_catalog | PL/Python3U untrusted procedural language
 set_user           | 3.0     | public     | similar to SET ROLE but with added logging
(8 rows)

postgres=# create extension vector ;
CREATE EXTENSION
postgres=# \dx
                                            List of installed extensions
        Name        | Version |   Schema   |                              Description
--------------------+---------+------------+------------------------------------------------------------------------
 file_fdw           | 1.0     | public     | foreign-data wrapper for flat file access
 pg_auth_mon        | 1.1     | public     | monitor connection attempts per user
 pg_cron            | 1.5     | pg_catalog | Job scheduler for PostgreSQL
 pg_stat_kcache     | 2.2.1   | public     | Kernel statistics gathering
 pg_stat_statements | 1.10    | public     | track planning and execution statistics of all SQL statements executed
 plpgsql            | 1.0     | pg_catalog | PL/pgSQL procedural language
 plpython3u         | 1.0     | pg_catalog | PL/Python3U untrusted procedural language
 set_user           | 3.0     | public     | similar to SET ROLE but with added logging
 vector             | 0.4.1   | public     | vector data type and ivfflat access method
(9 rows)

postgres=# exit

@ldming ldming added this to the Release 0.5.0 milestone Apr 4, 2023
@ldming ldming marked this pull request as ready for review April 4, 2023 06:05
@ldming ldming requested a review from Y-Rookie April 4, 2023 06:06
@Y-Rookie
Copy link
Copy Markdown
Contributor

Y-Rookie commented Apr 4, 2023

/approve

@apecloud-bot apecloud-bot added the approved PR Approved Test label Apr 4, 2023
@ldming ldming merged commit 98ddbca into main Apr 4, 2023
@ldming ldming deleted the support/postgresql-support-pgvector branch April 4, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Features] postgresql-ha cluster support pgvector extension

4 participants