Skip to content

Error with name that contains an uppercase letter #32

Answered by Alkarex
Yusseiin asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,
PostgreSQL is case sensitive when it comes to table names, if they have been created in a case-sensitive way.
The behaviour is not due to this Node-RED node, which passes the query directly to the database.
To address a table name or column name that have uppercase letters, you need to use double quotes around them:

SELECT * FROM "Gant" LIMIT 2;

See https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Yusseiin
Comment options

Answer selected by Yusseiin
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #31 on December 16, 2022 15:23.