#if defined(HAVE_WCSTOMBS) && defined(HAVE_TOWLOWER) #define USE_WIDE_UPPER_LOWER #endif # running require cygrunsrv -S cygserver # create dabase space initdb -D /usr/local/pgsql/data # You can now start the database server using: postgres -D /usr/local/pgsql/data or pg_ctl -D /usr/local/pgsql/data -l logfile start # list available databases psql -l # connect to "postgres" database psql postgres # disconnect \quit # FATAL: database "test" does not exist createdb test # solved postgres=# p_isdigit SELECT * FROM ts_parse('default', '345'); $ ps ax |grep postgres 1956 7156 1956 1956 ? 1009 14:25:08 /usr/sbin/postgres 1204 0 0 1204 pty0 1009 Jan 1 /usr/sbin/postgres 3452 7156 3452 3452 ? 1009 14:25:29 /usr/sbin/postgres 4384 7156 4384 4384 ? 1009 14:25:08 /usr/sbin/postgres 3524 7156 3524 3524 ? 1009 14:25:08 /usr/sbin/postgres 7156 1 5976 1768 pty2 1009 14:25:08 /usr/sbin/postgres 6768 7156 6768 6768 ? 1009 14:25:08 /usr/sbin/postgres 3028 7156 3028 3028 ? 1009 14:25:08 /usr/sbin/postgres