The writ of possession is nothing more than a complement of the writ of execution which, without the former, is ineffective; for it would be useless to order a sheriff to sell a real property of a judgment debtor if after the sale is made in the manner provided by law the purchaser, after the expiration of the period of redemption, may not enter upon the possession of the property thus purchased