diff options
author | Michael Paquier <michael@paquier.xyz> | 2024-12-17 09:44:06 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2024-12-17 09:44:06 +0900 |
commit | 0f23dedc91760271aefe9e3c52d677c079bb7bce (patch) | |
tree | 1683d309c43ffcca01170c359a5394369dbad257 /src/backend/utils/adt/tsvector_parser.c | |
parent | e116b703f0b9b551cb413c8f2cfe231a9ce73f42 (diff) | |
download | postgresql-0f23dedc91760271aefe9e3c52d677c079bb7bce.tar.gz postgresql-0f23dedc91760271aefe9e3c52d677c079bb7bce.zip |
Print out error position for some more DDLs
The following commands gain some information about the error position in
the query, should they fail when looking at the type used:
- CREATE TYPE (LIKE)
- CREATE TABLE OF
Both are related to typenameType() where the type name lookup is done.
These calls gain the ParseState that already exists in these paths.
Author: Kirill Reshke, Jian He
Reviewed-by: Álvaro Herrera, Michael Paquier
Discussion: https://postgr.es/m/CALdSSPhqfvKbDwqJaY=yEePi_aq61GmMpW88i6ZH7CMG_2Z4Cg@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/tsvector_parser.c')
0 files changed, 0 insertions, 0 deletions