[bug] keyword commit being accepted for column name
От | Vinícius Abrahão |
---|---|
Тема | [bug] keyword commit being accepted for column name |
Дата | |
Msg-id | CAM9Bftxfy7KJzk8tp6kCMz7+sA0vpfaOBsk2_pSfuMMoVwW4Rw@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: [bug] keyword commit being accepted for column name
|
Список | pgsql-bugs |
postgres=# create table postgres_git_repository(commit text, first_line_commit text);
CREATE TABLE
CREATE TABLE
postgres=# create table postgres_git_repository2("commit" text, first_line_commit text);
CREATE TABLE
postgres=# create table postgres_git_repository3("COMMIT" text, first_line_commit text);
CREATE TABLE
CREATE TABLE
postgres=# create table postgres_git_repository3("COMMIT" text, first_line_commit text);
CREATE TABLE
postgres=# select version();
version
--------------------------------------------------------------------------------------------------------
PostgreSQL 17.4 on x86_64-pc-linux-gnu, compiled by clang version 19.1.7 (CentOS 19.1.7-1.el9), 64-bit
version
--------------------------------------------------------------------------------------------------------
PostgreSQL 17.4 on x86_64-pc-linux-gnu, compiled by clang version 19.1.7 (CentOS 19.1.7-1.el9), 64-bit
postgres=# \d postgres_git_repository
Table "public.postgres_git_repository"
Column | Type | Collation | Nullable | Default
-------------------+------+-----------+----------+---------
commit | text | | |
first_line_commit | text | | |
Table "public.postgres_git_repository"
Column | Type | Collation | Nullable | Default
-------------------+------+-----------+----------+---------
commit | text | | |
first_line_commit | text | | |
postgres=# \h commit
Command: COMMIT
Description: commit the current transaction
Syntax:
COMMIT [ WORK | TRANSACTION ] [ AND [ NO ] CHAIN ]
URL: https://www.postgresql.org/docs/17/sql-commit.html
Command: COMMIT
Description: commit the current transaction
Syntax:
COMMIT [ WORK | TRANSACTION ] [ AND [ NO ] CHAIN ]
URL: https://www.postgresql.org/docs/17/sql-commit.html
В списке pgsql-bugs по дате отправления: