summaryrefslogtreecommitdiff
path: root/src/bin/pg_id
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2000-10-07 14:39:21 +0000
committerBruce Momjian <bruce@momjian.us>2000-10-07 14:39:21 +0000
commit7ea8403c8a7325a7e019a2cee17315df91955fdf (patch)
tree91c8d7a6a65fb696d1f4de85e85cc571a7afb8a9 /src/bin/pg_id
parenta759460178c22ece2cc95cfc0d18e2e9631c2499 (diff)
downloadpostgresql-7ea8403c8a7325a7e019a2cee17315df91955fdf.tar.gz
The beos port in the source tree doesn't even compile. and even
after that dynamic loading isn't working and shared memory handling is broken. Attached with this message, there is a Zip file which contain : * beos.diff = patch file generated with difforig * beos = folder with beos support files which need to be moved in / src/backend/port * expected = foler with three file for message and precision difference in regression test * regression.diff = rule problem (need to kill the backend manualy) * dynloader = dynloader files (they are also in the pacth files, but there is so much modification that I have join full files) Everything works except a problem in 'rules' Is there some problems with rules in the current tree ? It used to works with last week tree. Cyril VELTER
Diffstat (limited to 'src/bin/pg_id')
-rw-r--r--src/bin/pg_id/pg_id.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bin/pg_id/pg_id.c b/src/bin/pg_id/pg_id.c
index 23bf607bb4..fb52e9ba46 100644
--- a/src/bin/pg_id/pg_id.c
+++ b/src/bin/pg_id/pg_id.c
@@ -6,7 +6,7 @@
*
* Copyright (C) 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/pg_id/Attic/pg_id.c,v 1.15 2000/05/29 21:26:04 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_id/Attic/pg_id.c,v 1.16 2000/10/07 14:39:15 momjian Exp $
*/
#include "postgres.h"
@@ -89,6 +89,11 @@ main(int argc, char *argv[])
else if (nameflag)
puts(pw->pw_name);
else
+#ifdef __BEOS__
+ if (pw->pw_uid==0)
+ printf("1\n");
+ else
+#endif
printf("%d\n", (int) pw->pw_uid);
return 0;