That is an American usage of the word.

Such pickles are called Gerkins in BrEng.

Anyway

"to pickle" means to preserve somthing in vinegar.

E.g. you can have pickled onions, pickled eggs...