Buddha developed a perfect understanding of the operation of the human mind. From this developed understanding, any actions taken by human beings since could have been predicted. Is the claim that the Christian God as an omnicient being any more developed beyond that of an understanding of Buddha as all knowing entity, particularly with respect to the all-powerful argument for God's existance?
Obviously ,Buddha was omniscient,because he had attained nirvana,
.
Any person who can reach the stage of nirvana,can do anything at will.
The enlightened ones are able to disassemble and reorganize their physical bodies at will and each and every thoughts of feeble human minds are recorded in hyperspace- which are easily read by even the initiators as footprints in the sands of time.
The yogis/Buddha can die at will.They have absolute control the natural forces.A perfect Buddha/yogi is one who does not use or show any of these powers.A stage is reached in spiritual evolution through these techniques,when past,present,and the future is known.All the past and future births are known.Realized men like Sankara and Tibbetibaba are known to have changed their bodies,because they could not be used anymore.The Hindu sages who have wrote the vedas,have written down in palm leafs the future of certain people who they knew would come to consult their leafs.
The Yoga-sutras of patanjali,clearly delineates the powers which a man obtains as he move upwards towards the divine goal.They are called 8 siddhis.Omniscience is just one among them.A true Buddha who strives to achieve nirvana,should not be attracted to any of these powers,for they like candlelights in front of sun.From the Self-realised person’s point of view, they mean nothing. They are a natural part of him. I have got five fingers. I don’t crow about it—"I’ve got five fingers! I’ve got five fingers!" These supernatural powers are as natural to the supreme being as having five fingers.
http://en.wikipedia.org/wiki/Siddhi
Theoretically, of course, Self-realised people have all powers. There is nothing that they cannot do. But they are generally not interested in doing all these things because they know that the whole world is a myth, a dream. From myth, they have been awakened. So why would they be interested in doing anything in a dream world? You see, when a person has dreamt a number of dreams one night and woken up in the morning—what value has the dream got for him? Similarly, once the Self-realised person has woken up to the supreme Reality, this mortal world is a dream, a myth.
For what is a man profited, if he gain the whole world, and lose his own self?--Luke 9:2