Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between integer and integer[] in PostgreSQL 9.5?

please show some patience with the spelling.

So I am a bit of newbie in programming and I was trying to make a new column over a table in my pgAdmin III through PostgreSQL, when I saw there were two types of integer to select of. Integer and in integer[].

Is there any difference between those two?

Creating Table in PostgreSQL

Thanks a lot for your time.

like image 989
Christakis Pappas Avatar asked Feb 19 '16 18:02

Christakis Pappas


1 Answers

What you want is probably just integer:

integer[] is an array of integers.

like image 94
gokaai Avatar answered Oct 18 '22 02:10

gokaai