[DOCS] Invalid field name in RLS description

2016-09-12 Thread Alexander Law
Hello, It seems, that the RLS description supposes that the users table contains the field "user", but it's a reserved keyword. Patch attached. (The replacement "user_name" selected as corresponding to the following examples). Best regards, Alexander diff --git a/doc/src/sgml/ddl.sgml b/doc/

[DOCS] A typo in the docs

2016-09-12 Thread Alexander Law
Hello, Please consider fixing a typo in pgtrm.sgml. Patch attached. Best regards, Alexander diff --git a/doc/src/sgml/pgtrgm.sgml b/doc/src/sgml/pgtrgm.sgml index d362b03..775a7b8 100644 --- a/doc/src/sgml/pgtrgm.sgml +++ b/doc/src/sgml/pgtrgm.sgml @@ -104,7 +104,7 @@ the second string a

[DOCS] Incorrect case in functions-textsearch

2016-09-12 Thread Alexander Law
Hello, Please consider fixing the case that is out of line with the other descriptions in functions-textsearch.sgml. Patch attached. Best regards, Alexander diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 5148095..47fcb30 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/s

[DOCS] alter query not work

2016-09-12 Thread amolorape13
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/8.0/static/sql-alteruser.html Description: aletr user amol with password 'amol'; is not working with in my application i m doing this thing in web application its not working please help mi

Re: [DOCS] Invalid field name in RLS description

2016-09-12 Thread Tom Lane
Alexander Law writes: > It seems, that the RLS description supposes that the users table > contains the field "user", but it's a reserved keyword. > Patch attached. (The replacement "user_name" selected as corresponding > to the following examples). Pushed; I also made a few more changes to mak