~ubuntu-branches/ubuntu/natty/postgresql-8.4/natty-security

« back to all changes in this revision

Viewing changes to src/tools/pgindent/pgindent

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-11 16:59:35 UTC
  • mfrom: (5.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090711165935-jfwin6gfrxf0gfsi
Tags: 8.4.0-2
* debian/libpq-dev.install: Ship catalog/genbki.h. (Closes: #536139)
* debian/rules: Drop --enable-cassert for final release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
3
 
# $PostgreSQL: pgsql/src/tools/pgindent/pgindent,v 1.100 2008/11/03 15:56:47 momjian Exp $
 
3
# $PostgreSQL: pgsql/src/tools/pgindent/pgindent,v 1.101 2009/06/11 22:21:44 momjian Exp $
4
4
 
5
5
# Known bugs:
6
6
#
7
 
# Blank line is added after, seen as a function definition, no space
 
7
# Blank line is added after parentheses; seen as a function definition, no space
8
8
# after *:
9
9
#       y = (int) x *y;
 
10
#
 
11
# Structure/union pointers in function prototypes and definitions have an extra
 
12
# space after the asterisk:
 
13
#
 
14
#       void x(struct xxc * a);
10
15
 
11
16
if [ "$#" -lt 2 ]
12
17
then    echo "Usage:  $(basename $0) typedefs file [...]" 1>&2