snaker-core/src/main/java/org/snaker/engine/access/dialect/PostgresqlDialect.java
public String getPageSql(String sql, Page<?> page) {
		StringBuffer pageSql = new StringBuffer(sql.length() + 100);
		pageSql.append(getPageBefore(sql, page));
		pageSql.append(sql);
		pageSql.append(getPageAfter(sql, page));
		return pageSql.toString();
	}
public String getPageSql(String sql, Page<?> page) {
		StringBuffer pageSql = new StringBuffer(sql.length() + 100);
		pageSql.append(getPageBefore(sql, page));
		pageSql.append(sql);
		pageSql.append(getPageAfter(sql, page));
		return pageSql.toString();
	}
public String getPageSql ( String sql , Page < ? > page ) { StringBuffer pageSql = new StringBuffer ( sql . length ( ) + 100 ) ; pageSql . append ( getPageBefore ( sql , page ) ) ; pageSql . append ( sql ) ; pageSql . append ( getPageAfter ( sql , page ) ) ; return pageSql . toString ( ) ; }
Postgresql分页通过limit实现
Postgresql分页通过limit实现