I have some geospatial data in a PostGIS database. I want to serve that data to a web map app with GeoServer. But every time I add a table as a layer in GeoServer, it creates a duplicate table in PostGIS. For example, when I try to add the table "district_boundary", I end up with a new table, named "district_boundary0" that contains all the data from the original table, duplicated for no apparent reason.
I don't want this! There's no reason to have multiple copies of the same data - and there are lots of reasons not to! So how can I make GeoServer use the table I tell it to and not make its own?
Thanks in advance!
Note: This is probably not a matter of my tables not having the correct structure to be served up. I added the GeoServer-created "district_boundary0" to check this, and just ended up with "district_boundary00"...