Re: [BUGS] BUG #4053: libpq documentation should express clearly, that integers are passed in network octet order

2008-05-07 Thread Andrew Chernow
Bruce Momjian wrote: Aleksej Saushev wrote: The following bug has been logged online: Bug reference: 4053 Logged by: Aleksej Saushev Email address: [EMAIL PROTECTED] PostgreSQL version: 8.3 Operating system: NetBSD, but this does no matter Description:libpq document

Re: [BUGS] BUG #4053: libpq documentation should express clearly, that integers are passed in network octet order

2008-05-07 Thread Bruce Momjian
Aleksej Saushev wrote: > > The following bug has been logged online: > > Bug reference: 4053 > Logged by: Aleksej Saushev > Email address: [EMAIL PROTECTED] > PostgreSQL version: 8.3 > Operating system: NetBSD, but this does no matter > Description:libpq documentation

Re: [BUGS] BUG #4040: psql should provide option to not prompt for password

2008-05-07 Thread Bruce Momjian
Peter Eisentraut wrote: > Am Montag, 17. M?rz 2008 schrieb Mika Fischer: > > Ideally, psql should provide an option --no-password which would cause it > > to never promt for a password, and in case one is needed, fail as if a > > wrong one was given. > > Something like ssh's BatchMode would be nic

Re: [BUGS] BUG #4040: psql should provide option to not prompt for password

2008-05-07 Thread Bruce Momjian
Tom Lane wrote: > Alvaro Herrera <[EMAIL PROTECTED]> writes: > > BTW while reading the psql manpage I noticed this statement: > > >A popular application of this facility is to refer to the last > >inserted OID in subsequent statements to build a foreign key > >scenario. >

Re: [BUGS] BUG: aliases does not work ((

2008-05-07 Thread Tom Lane
<[EMAIL PROTECTED]> writes: >> Aliases in the select list are not in scope in the having clause. > it will be good if aliases will be in scope of 'having' clause. Feel free to try to convince the SQL standards committee ... regards, tom lane -- Sent via pgsql-bugs maili

Re: [BUGS] BUG: aliases does not work ((

2008-05-07 Thread Eugen.Konkov
Aliases in the select list are not in scope in the having clause. it will be good if aliases will be in scope of 'having' clause. Because of dublicating code is cause of bugs when people foget replace code in second place while changing code in first one =( - Original Message - From:

Re: [BUGS] BUG #4148: tsearch related issue

2008-05-07 Thread Tom Lane
"" <[EMAIL PROTECTED]> writes: > for query SELECT to_tsvector('surprise') it's showing result as 'surpris':1 > but when I try to search this word its returning false. > SELECT to_tsvector('surprise') @@ to_tsquery('surpris'); This isn't a bug, because those are not the same word. If you looked c

Re: [BUGS] BUG #4024: xpath() results lose namespace mappings

2008-05-07 Thread Bruce Momjian
Would someone please respond to this bug report? --- Matt Magoffin wrote: > > The following bug has been logged online: > > Bug reference: 4024 > Logged by: Matt Magoffin > Email address: [EMAIL PROTECTE

[BUGS] BUG #4148: tsearch related issue

2008-05-07 Thread
The following bug has been logged online: Bug reference: 4148 Logged by: Email address: [EMAIL PROTECTED] PostgreSQL version: 8.3 Operating system: windows xp Description:tsearch related issue Details: Hi, I'm using tsearch in my application. for query SELECT to

[BUGS] ORDER BY...LIMIT optimization does not work with inherited tables

2008-05-07 Thread Marshall, Steve
PostgreSQL 8.3 added a new optimization to avoid sorting in queries that use ORDER BY ... LIMIT. This optimization does not work when the query is issued to a parent table with several children, such as a partitioned table. PostgreSQL version: 8.3.1 Operating System:RedHat Enterprise Li

Re: [BUGS] BUG: aliases does not work ((

2008-05-07 Thread Peter Eisentraut
Am Mittwoch, 7. Mai 2008 schrieb [EMAIL PROTECTED]: > SELECT > MIN(COALESCE(cmp_values(parent_td.value, parent_md.value, > parent_cmp.value),0)) as chk_parent, FROM some_table > > having chk_parent > 0 > > ERROR: column "chk_parent" does not exist at character 2342 Aliases in the select list are

[BUGS] BUG: aliases does not work ((

2008-05-07 Thread Eugen.Konkov
SELECT MIN(COALESCE(cmp_values(parent_td.value, parent_md.value, parent_cmp.value),0)) as chk_parent, FROM some_table having chk_parent > 0 ERROR: column "chk_parent" does not exist at character 2342