git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 11ac4c7) | patch
Fix incorrect error message reported for non-existent users
2013年12月18日 17:16:16 +0000 (12:16 -0500)
2013年12月18日 17:16:21 +0000 (12:16 -0500)
commit 613c6d26bd42dd8c2dd0664315be9551475b8864
Fix incorrect error message reported for non-existent users

Previously, lookups of non-existent user names could return "Success";
it will now return "User does not exist" by resetting errno. This also
centralizes the user name lookup code in libpgport.

Report and analysis by Nicolas Marchildon; patch by me
19 files changed:
contrib/pg_upgrade/util.c diff | blob | blame | history
src/backend/libpq/auth.c diff | blob | blame | history
src/backend/main/main.c diff | blob | blame | history
src/bin/initdb/initdb.c diff | blob | blame | history
src/bin/psql/command.c diff | blob | blame | history
src/bin/psql/help.c diff | blob | blame | history
src/bin/scripts/clusterdb.c diff | blob | blame | history
src/bin/scripts/common.c diff | blob | blame | history
src/bin/scripts/common.h diff | blob | blame | history
src/bin/scripts/createdb.c diff | blob | blame | history
src/bin/scripts/createlang.c diff | blob | blame | history
src/bin/scripts/createuser.c diff | blob | blame | history
src/bin/scripts/droplang.c diff | blob | blame | history
src/bin/scripts/reindexdb.c diff | blob | blame | history
src/bin/scripts/vacuumdb.c diff | blob | blame | history
src/include/port.h diff | blob | blame | history
src/port/Makefile diff | blob | blame | history
src/port/username.c [new file with mode: 0644] blob
src/tools/msvc/Mkvcbuild.pm diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /