Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
I tried to find a limit to Posgres's table+column names. There is none! ๐Ÿ‘
scratch=# create table "delete from account;" ("""id""" text primary key, "sutff %\n" text, "&" text, "1" text, U&"\+01F600" text);
CREATE TABLE
scratch=# \d "delete from account;"
Table "public.delete from account;"
Column | Type | Modifiers
-----------+------+-----------
"id" | text | not null
sutff %\n | text |
& | text |
1 | text |
๐Ÿ˜€ | text |
Indexes:
"delete from account;_pkey" PRIMARY KEY, btree ("""id""")
scratch=# delete from "delete from account;";
delete 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You canโ€™t perform that action at this time.