Can we create an array of chars in postgresql i.e (Column_name char[5]) and does it take only 5 bytes in disk ? since type char takes only one byte
Asked
Active
Viewed 16 times
0
-
What problem are you trying to solve with that? Why an array to begin with? – Jul 29 '20 at 14:56
-
"since type char takes only one byte" - no, it does not. A single char might need more then one byte depending on the character set you are using. – Jul 29 '20 at 14:56