Prepositional case (abbreviated PREP) and postpositional case (abbreviated POST) are grammatical cases that respectively mark the object of a preposition and a postposition. This term can be used in languages where nouns have a declensional form that appears exclusively in combination with certain prepositions.
Because the objects of these prepositions often denote locations, this case is also sometimes called the locative case: Czech and Slovak lokál (as opposed to lokatív), miejscownik in Polish. This is in concord with its etymology: the Slavic prepositional case hails from the Proto-Indo-European locative case (present in Armenian, Sanskrit, and Old Latin, among others). The so-called "second locative" found in modern Russian has ultimately the same origin.
In Irish and Scottish Gaelic, nouns that are the objects of (most) prepositions may be marked with prepositional case, especially if preceded by the definite article. In traditional grammars, and in scholarly treatments of the early language, the term dative case is incorrectly used for the prepositional case. This case is exclusively associated with prepositions. However not all prepositions trigger prepositional case marking, and a small group of prepositions which are termed compound mark their objects with genitive case, these prepositions being historically derived from the fusion of a preposition plus a following noun which has become grammaticalised. (Compare English "in front of", "because of".) Note however that many nouns no longer exhibit distinct prepositional case forms in the conversational language.