Unfortunately, PgRaster support is still not common and GeoServer does not support consuming PgRaster yet. This section shows how to use the PostgreSQL database to load a raster and then expose it via GeoServer.
Exposing a GeoServer layer based on a raster stored in PostgreSQL is not as straightforward as it was with vector tables.
In order to create a raster layer, we first need to install an Image Mosaic JDBC plugin: http://docs.geoserver.org/stable/en/user/data/raster/imagemosaicjdbc.html.
Installing the plugin is ...