🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #14594

[postgres] �Problema con el parser de postgres?

#14594
From: Han Solo
Date: Tue, 24 Oct 2000 00:00
47 lines
1835 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hola a todos.

Ayer, trabajando con postgres me he encontrado una cosa muy
"curiosa". Si ejecuto una consulta tal que as�:

select * from objetos where exists
(select * from objetos);

funciona perfectamente. Pero si cambiamos la consulta ligeramente:

select * from objetos where exists
((select * from objetos));

el resultado es 

ERROR:  parser: parse error at or near "("

El ejemplo es muy tonto, y redundante, pero ilustra el problema. Tengo
que hacer una serie de consultas anidadas complejas, y si no funciona
esto, apaga  y v�monos.

Por cierto, la versi�n de postgres es la 6.5.3

- -- 
Un Saludo

Han Solo
The Rebel Alliance

Emacs is not on every system

So what? [...] Do you tell your administrative people to stick with
notepad.exe? Do you tell your fat kids they can only have the crummy
games that come with their video games or plain dress that comes with
Barbie?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard <http://www.gnupg.org/>

iEYEARECAAYFAjn2Ac0ACgkQ4FjpJaPEp21ZRQCfVbv+7DT8Wy2VQbh08Pm4vPnw
nEcAn0X2+eEGqnBuR3gL1KSDLdqhKEPA
=+JlM
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <87g0lluddd.fsf@alderaan.maptel.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f86c8,3c624587f3cd7503,start
X-Google-Attributes: gidf86c8,public
From: Han Solo <hsolo@maptel.es>
Subject: [postgres] �Problema con el parser de postgres?
Date: 2000/10/24
Message-ID: <87g0lluddd.fsf@alderaan.maptel.es>
X-Deja-AN: 685409443
Content-Transfer-Encoding: 8bit
Organization: The Rebel Alliance
X-Server-Date: 24 Oct 2000 21:40:30 GMT
Content-Type: text/plain; charset=iso-8859-1
User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7
Mime-Version: 1.0
Newsgroups: es.comp.os.linux.programacion