mirror of
https://github.com/postgres/postgres.git
synced 2025-08-18 12:22:09 +03:00
pgindent run for 9.0
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/libpq/be-fsstubs.c,v 1.93 2010/01/02 16:57:45 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/libpq/be-fsstubs.c,v 1.94 2010/02/26 02:00:42 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* This should be moved to a more appropriate place. It is here
|
||||
@@ -55,7 +55,7 @@
|
||||
/*
|
||||
* compatibility flag for permission checks
|
||||
*/
|
||||
bool lo_compat_privileges;
|
||||
bool lo_compat_privileges;
|
||||
|
||||
/*#define FSDB 1*/
|
||||
#define BUFSIZE 8192
|
||||
@@ -167,7 +167,7 @@ lo_read(int fd, char *buf, int len)
|
||||
pg_largeobject_aclcheck_snapshot(cookies[fd]->id,
|
||||
GetUserId(),
|
||||
ACL_SELECT,
|
||||
cookies[fd]->snapshot) != ACLCHECK_OK)
|
||||
cookies[fd]->snapshot) != ACLCHECK_OK)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
|
||||
errmsg("permission denied for large object %u",
|
||||
@@ -199,9 +199,9 @@ lo_write(int fd, const char *buf, int len)
|
||||
pg_largeobject_aclcheck_snapshot(cookies[fd]->id,
|
||||
GetUserId(),
|
||||
ACL_UPDATE,
|
||||
cookies[fd]->snapshot) != ACLCHECK_OK)
|
||||
cookies[fd]->snapshot) != ACLCHECK_OK)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
|
||||
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
|
||||
errmsg("permission denied for large object %u",
|
||||
cookies[fd]->id)));
|
||||
|
||||
@@ -522,7 +522,7 @@ lo_truncate(PG_FUNCTION_ARGS)
|
||||
pg_largeobject_aclcheck_snapshot(cookies[fd]->id,
|
||||
GetUserId(),
|
||||
ACL_UPDATE,
|
||||
cookies[fd]->snapshot) != ACLCHECK_OK)
|
||||
cookies[fd]->snapshot) != ACLCHECK_OK)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
|
||||
errmsg("permission denied for large object %u",
|
||||
|
Reference in New Issue
Block a user