[BUGS] BUG #8177: initscript should create /var/run/postgresql

2013-05-27 Thread stronny
The following bug has been logged on the website: Bug reference: 8177 Logged by: stronny Email address: stro...@celestia.ru PostgreSQL version: 9.2.4 Operating system: wheezy Description: When installed from apt.postgresql.org Postgres fails to start on system boot.

Re: [BUGS] BUG #8176: problem with the "ALTER TYPE name RENAME TO new_name [ CASCADE | RESTRICT ]" syntax

2013-05-27 Thread Stephen Frost
Maxim, * maxim.bo...@gmail.com (maxim.bo...@gmail.com) wrote: > It seems that documentation wrong or [ CASCADE | RESTRICT ] feature of ALTER > TYPE ... RENAME TO isn't implemented. I've updated the documentation to reflect that [ CASCADE | RESTRICT ] is supported for ALTER TYPE .. RENAME ATTRIBUT

Re: [HACKERS] [BUGS] COPY .... (FORMAT binary) syntax doesn't work

2013-05-27 Thread Tom Lane
Simon Riggs writes: > On 26 May 2013 17:10, Tom Lane wrote: >> More readable would be to invent an intermediate nonterminal falling >> between ColId and ColLabel, whose expansion would be "IDENT | >> unreserved_keyword | col_name_keyword | type_func_name_keyword", and >> then replace ColId_or_Sco

Re: [BUGS] BUG #8176: problem with the "ALTER TYPE name RENAME TO new_name [ CASCADE | RESTRICT ]" syntax

2013-05-27 Thread Stephen Frost
* Tom Lane (t...@sss.pgh.pa.us) wrote: > Are we sure the documentation's not wrong? A quick test says this > syntax isn't accepted in *any* existing release, and I can't say I > understand what it should do anyway. Was just composing an email to that effect, actually. I agree that it's a documen

Re: [BUGS] BUG #8176: problem with the "ALTER TYPE name RENAME TO new_name [ CASCADE | RESTRICT ]" syntax

2013-05-27 Thread Stephen Frost
Maxim, * Stephen Frost (sfr...@snowman.net) wrote: > * maxim.bo...@gmail.com (maxim.bo...@gmail.com) wrote: > > It seems that documentation wrong or [ CASCADE | RESTRICT ] feature of ALTER > > TYPE ... RENAME TO isn't implemented. > > Actually, I'm pretty sure it's implemented but the grammar for

Re: [BUGS] BUG #8176: problem with the "ALTER TYPE name RENAME TO new_name [ CASCADE | RESTRICT ]" syntax

2013-05-27 Thread Tom Lane
Stephen Frost writes: > * maxim.bo...@gmail.com (maxim.bo...@gmail.com) wrote: >> It seems that documentation wrong or [ CASCADE | RESTRICT ] feature of ALTER >> TYPE ... RENAME TO isn't implemented. > Actually, I'm pretty sure it's implemented but the grammar for it was > broken during refactori

Re: [BUGS] BUG #8176: problem with the "ALTER TYPE name RENAME TO new_name [ CASCADE | RESTRICT ]" syntax

2013-05-27 Thread Stephen Frost
Maxim, * maxim.bo...@gmail.com (maxim.bo...@gmail.com) wrote: > It seems that documentation wrong or [ CASCADE | RESTRICT ] feature of ALTER > TYPE ... RENAME TO isn't implemented. Actually, I'm pretty sure it's implemented but the grammar for it was broken during refactoring to have all the ALTE

Re: [HACKERS] [BUGS] COPY .... (FORMAT binary) syntax doesn't work

2013-05-27 Thread Simon Riggs
On 26 May 2013 17:10, Tom Lane wrote: > Heikki Linnakangas writes: > More readable would be to invent an intermediate nonterminal falling > between ColId and ColLabel, whose expansion would be "IDENT | > unreserved_keyword | col_name_keyword | type_func_name_keyword", and > then replace ColId_or

Re: [BUGS] COPY .... (FORMAT binary) syntax doesn't work

2013-05-27 Thread Simon Riggs
On 26 May 2013 16:35, Heikki Linnakangas wrote: >> My attempts to fix that look pretty ugly, so I'm not even going to >> post them. I can stop the error on binary by causing errors on csv and >> text, obviously not a fix. Any grammar based fix looks like it would >> restrict the list of formats,

[BUGS] BUG #8176: problem with the "ALTER TYPE name RENAME TO new_name [ CASCADE | RESTRICT ]" syntax

2013-05-27 Thread maxim . boguk
The following bug has been logged on the website: Bug reference: 8176 Logged by: Maksym Boguk Email address: maxim.bo...@gmail.com PostgreSQL version: 9.2.4 Operating system: Any Description: Hi, It seems that documentation wrong or [ CASCADE | RESTRICT ] feature of