Does pgsql2shp have a max size limit, because I was generating a shape file from my data set which contains over 160,000 records but when I pump out the .shp it only shows 24,245 records. Is there a bug with the pgsql2shp function? Shaun