pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPrint command equivalent in postgresql
3+ messages / 3 participants
[nested] [flat]
* Print command equivalent in postgresql
@ 2007-01-23 16:47 Negandhi, Nishith <Nishith.Negandhi@infoUSA.com>
0 siblings, 2 replies; 3+ messages in thread
From: Negandhi, Nishith @ 2007-01-23 16:47 UTC (permalink / raw)
To: pgsql-admin
Hi,
In SQL Server there is a PRINT command that returns a user-defined
message to the client.
What is the equivalent of this on postgresql .??
Regards
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Print command equivalent in postgresql
@ 2007-01-23 17:08 Iannsp <iannsp@gmail.com>
parent: Negandhi, Nishith <Nishith.Negandhi@infoUSA.com>
1 sibling, 0 replies; 3+ messages in thread
From: Iannsp @ 2007-01-23 17:08 UTC (permalink / raw)
To: Negandhi, Nishith <Nishith.Negandhi@infoUSA.com>; +Cc: pgsql-admin
Negandhi, Nishith escreveu:
> Hi,
> In SQL Server there is a PRINT command that returns a user-defined
> message to the client.
> What is the equivalent of this on postgresql .??
>
> Regards
>
I may use the raise notice if you are in stored procedure.
--
Ivo Nascimento
Iann tech - Desenvolvendo soluções com performance e segurança
http://www.ianntech.com.br
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Print command equivalent in postgresql
@ 2007-01-24 20:26 Bruno Wolff III <bruno@wolff.to>
parent: Negandhi, Nishith <Nishith.Negandhi@infoUSA.com>
1 sibling, 0 replies; 3+ messages in thread
From: Bruno Wolff III @ 2007-01-24 20:26 UTC (permalink / raw)
To: Negandhi, Nishith <Nishith.Negandhi@infoUSA.com>; +Cc: pgsql-admin
On Tue, Jan 23, 2007 at 10:47:13 -0600,
"Negandhi, Nishith" <Nishith.Negandhi@infoUSA.com> wrote:
> Hi,
> In SQL Server there is a PRINT command that returns a user-defined
> message to the client.
> What is the equivalent of this on postgresql .??
Can you explain more about what you are looking for?
If you just want to return a row with a string in it you can use:
SELECT 'Your string here';
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2007-01-24 20:26 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-01-23 16:47 Print command equivalent in postgresql Negandhi, Nishith <Nishith.Negandhi@infoUSA.com>
2007-01-23 17:08 ` Iannsp <iannsp@gmail.com>
2007-01-24 20:26 ` Bruno Wolff III <bruno@wolff.to>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox