-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

I just received a question about psql. They want psql to show 'only' the 
databases that the 'current_user' owns.

I'd like to hack it for them but I don't know where \l is called and 
defined. Could someone point me where the code is?

Thanks.

Regards,
- -- 
Devrim GUNDUZ	       
devrim~gunduz.org				devrim.gunduz~linux.org.tr 
			http://www.tdmsoft.com
			http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBId4qtl86P3SPfQ4RAl8iAKCahouLYCZ16+/nN0HQJ6iBBTugxACeOAkV
cginXJaELoK69NtD8SN6DzY=
=2ERW
-----END PGP SIGNATURE-----


Tue, 17 Aug 2004 13:30:00 +0300 (EEST)
Devrim GUNDUZ <devrim@gunduz.org>
psql's \l
Am Dienstag, 17. August 2004 12:30 schrieb Devrim GUNDUZ:
> I'd like to hack it for them but I don't know where \l is called and
> defined. Could someone point me where the code is?

src/bin/psql$ grep pg_database *.c

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

Tue, 17 Aug 2004 13:43:14 +0200
Peter Eisentraut <peter_e@gmx.net>
Re: psql's \l
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

On Tue, 17 Aug 2004, Peter Eisentraut wrote:

> > I'd like to hack it for them but I don't know where \l is called and
> > defined. Could someone point me where the code is?
> 
> src/bin/psql$ grep pg_database *.c

Thanks.
- -- 
Devrim GUNDUZ	       
devrim~gunduz.org				devrim.gunduz~linux.org.tr 
			http://www.tdmsoft.com
			http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBIfFjtl86P3SPfQ4RArzBAKCibAfEyLefZ0dwziwi6JUA+ulM6ACeMvja
7SCWaCwyFw5Lb24JKY2FMAU=
=suLK
-----END PGP SIGNATURE-----


Tue, 17 Aug 2004 14:52:01 +0300 (EEST)
Devrim GUNDUZ <devrim@gunduz.org>
Re: psql's \l

>>>I'd like to hack it for them but I don't know where \l is called and
>>>defined. Could someone point me where the code is?
>>
>>src/bin/psql$ grep pg_database *.c

Probably in describe.c

Erm, but what stops them from going:

SELECT * FROM pg_database;

Chris

Wed, 18 Aug 2004 09:18:25 +0800
Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Re: psql's \l